diff options
Diffstat (limited to 'run_tests.py')
-rw-r--r-- | run_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.py b/run_tests.py index eb00e032..95c2f3b8 100644 --- a/run_tests.py +++ b/run_tests.py @@ -57,10 +57,10 @@ def add_support_for_localization(): if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')): sys.path.insert(0, possible_topdir) - if six.PY2: - gettext.install('nova', unicode=1) - else: + if six.PY3: gettext.install('nova') + else: + gettext.install('nova', unicode=True) def initialize_trove(config_file): |