Files
xen/tools
Wei Liu 0aabd89dcf pygrub: make python scripts work with 2.6 and up
Run 2to3 and pick the sensible suggestions.

Import print_function and absolute_import so 2.6 can work.

There has never been a curses.wrapper module according to 2.x and 3.x
doc, only a function, so "import curses.wrapper" is not correct. It
happened to work because 2.x implemented a (undocumented) module.

We only need to import curses to make curses.wrapper available to
pygrub.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
2019-03-12 14:24:53 +00:00
..
2018-11-20 14:42:50 +00:00
2018-11-28 16:12:44 +00:00
2019-02-06 12:04:26 +00:00
2019-03-12 14:12:31 +00:00
2018-11-30 12:37:52 +00:00
2018-07-16 16:09:14 +01:00
2019-03-12 14:24:52 +00:00