nova/tools
Matthew Edmonds d7ed9a550b Make Xen code py3-compatible
A couple places in the Xen code have been using syntax that is
python2-specific. This replaces those instances with code that will
work in both python2 and python3.

PEP 3108 [1] moves urllib.urlopen to urllib.request.urlopen. The six
module is used in order to work in both python2 and python3 [2].

PEP 3110 [3] changed the grammar for except clauses, such that the
'as' keyword is now required in place of a comma when specifying an
exception variable.

[1] https://www.python.org/dev/peps/pep-3108/
[2] https://pythonhosted.org/six/#module-six.moves.urllib.request
[3] https://www.python.org/dev/peps/pep-3110/

Change-Id: I1235d767718a4207f4cef3e5b140319d003ad7b0
2018-08-10 20:04:19 +00:00
..
db
hooks
xenserver Make Xen code py3-compatible 2018-08-10 20:04:19 +00:00
abandon_old_reviews.sh
build_latex_pdf.sh
flake8wrap.sh
nova-manage.bash_completion
reserve-migrations.py Prevent blank line at start of migration placeholders 2017-08-25 18:43:19 +01:00
test-setup.sh