Bug 1390968: python-3 compatibility for python/**/*.py; r=Alex_Gaynor,gps

This passes `python3 -mcompileall`.  Changes:

 * use `0o` prefix for octal literals
 * print as a function
 * except .. as
 * use six.reraise to replace a multi-argument raise statement
 * use six.string_types and six.moves.configparser
 * remove uses of `L` suffix for long integers

MozReview-Commit-ID: KLaYRNHGpay
This commit is contained in:
Dustin J. Mitchell
2017-08-28 21:31:30 +00:00
parent 2bc34bde4c
commit 3a965a964e
19 changed files with 37 additions and 41 deletions

View File

@@ -32,6 +32,7 @@ setup(
'blessings',
'mozfile',
'mozprocess',
'six',
],
tests_require=['mock'],
)