]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Allow multiple imports for both ways of doing i18n
authorDoug Wiegley <dougw@a10networks.com>
Thu, 3 Dec 2015 19:53:55 +0000 (12:53 -0700)
committerDoug Wiegley <dougw@a10networks.com>
Thu, 3 Dec 2015 19:53:55 +0000 (12:53 -0700)
Disallowing the old way makes the transition period messier than
it needs to be.

Change-Id: I687f18f0f0554f3198320a94f2e664896e88fbfc

tox.ini

diff --git a/tox.ini b/tox.ini
index 06b59b7337e3155a6afbd1562dedee45cdd75989..a13bdad6d01ddeb9526d9f2e8b543e8543a83c6c 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -171,7 +171,7 @@ builtins = _
 exclude = ./.*,build,dist,neutron/openstack/common/*,neutron/tests/tempest
 
 [hacking]
-import_exceptions = neutron._i18n
+import_exceptions = neutron.i18n, neutron._i18n
 local-check-factory = neutron.hacking.checks.factory
 
 [testenv:genconfig]