tests: fix missing import in check-translations stable
authorMatt Mackall <mpm@selenic.com>
Sun, 01 Dec 2013 21:24:26 -0600
branchstable
changeset 20164 1ddf4409229f
parent 20162 d91e54dc8874
child 20165 1c92524c37cd
child 20167 09e41ac6289d
tests: fix missing import in check-translations
i18n/check-translation.py
--- a/i18n/check-translation.py	Sun Dec 01 20:51:15 2013 -0600
+++ b/i18n/check-translation.py	Sun Dec 01 21:24:26 2013 -0600
@@ -122,6 +122,7 @@
     (options, args) = optparser.parse_args()
 
     if options.doctest:
+        import os
         if 'TERM' in os.environ:
             del os.environ['TERM']
         import doctest