i18n/check-translation.py
branchstable
changeset 20158 209e04a06467
parent 20152 84939b728749
child 20164 1ddf4409229f
--- a/i18n/check-translation.py	Sun Dec 01 18:26:42 2013 -0200
+++ b/i18n/check-translation.py	Sun Dec 01 20:39:11 2013 -0600
@@ -122,6 +122,8 @@
     (options, args) = optparser.parse_args()
 
     if options.doctest:
+        if 'TERM' in os.environ:
+            del os.environ['TERM']
         import doctest
         failures, tests = doctest.testmod()
         sys.exit(failures and 1 or 0)