summaryrefslogtreecommitdiffstats
path: root/tools/hacking.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hacking.py')
-rwxr-xr-xtools/hacking.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/hacking.py b/tools/hacking.py
index 4e2331054..94053991e 100755
--- a/tools/hacking.py
+++ b/tools/hacking.py
@@ -21,6 +21,7 @@
Built on top of pep8.py
"""
+import gettext
import imp
import inspect
import logging
@@ -643,6 +644,7 @@ imports_on_separate_lines_N301_compliant = r"""
"""
if __name__ == "__main__":
+ gettext.install('nova', unicode=1)
#include nova path
sys.path.append(os.getcwd())
#Run once tests (not per line)