diff options
author | likui <likui@yovole.com> | 2020-09-03 16:05:38 +0800 |
---|---|---|
committer | likui <likui@yovole.com> | 2020-09-03 18:30:24 +0800 |
commit | 5bf159de3673ec81e7beaebe4b2fd474bf34616b (patch) | |
tree | 0dd8f53a4613e34491a75809184e4e08c676d1ef /run_tests.py | |
parent | efc9bae2b9d6db4d9278293589d624f8b6244f80 (diff) | |
download | trove-5bf159de3673ec81e7beaebe4b2fd474bf34616b.tar.gz |
Remove six.PY3
The Python 2.7 Support has been dropped since Ussuri.
So remove hacking rules for compatibility between python 2 and 3.
Change-Id: Id3fd78b5d3e21579975ea0d0fc65e4f66ea4582e
Diffstat (limited to 'run_tests.py')
-rw-r--r-- | run_tests.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/run_tests.py b/run_tests.py index b7219ddb..caa8a1f3 100644 --- a/run_tests.py +++ b/run_tests.py @@ -25,7 +25,6 @@ import traceback import eventlet from oslo_log import log as logging import proboscis -import six from six.moves import urllib import wsgi_intercept from wsgi_intercept.httplib2_intercept import install as wsgi_install @@ -57,10 +56,7 @@ 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.PY3: - gettext.install('nova') - else: - gettext.install('nova', unicode=True) + gettext.install('nova') def initialize_trove(config_file): |