Rev 4089: Remove the check for no $TERM setting, as win32 doesn't have $TERM in http://bzr.arbash-meinel.com/branches/bzr/jam-integration

John Arbash Meinel john at arbash-meinel.com
Fri Mar 6 20:46:06 GMT 2009


At http://bzr.arbash-meinel.com/branches/bzr/jam-integration

------------------------------------------------------------
revno: 4089
revision-id: john at arbash-meinel.com-20090306204556-rvxi33g6nhvfhqob
parent: john at arbash-meinel.com-20090306204358-p5lful9jcxatzrhw
author: Alexander Belchenko <bialix at ukr.net>
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Fri 2009-03-06 14:45:56 -0600
message:
  Remove the check for no $TERM setting, as win32 doesn't have $TERM
-------------- next part --------------
=== modified file 'bzrlib/ui/__init__.py'
--- a/bzrlib/ui/__init__.py	2009-02-23 15:42:47 +0000
+++ b/bzrlib/ui/__init__.py	2009-03-06 20:45:56 +0000
@@ -240,7 +240,7 @@
         cls = CLIUIFactory
     elif not isatty():
         cls = CLIUIFactory
-    elif os.environ.get('TERM') in (None, 'dumb', ''):
+    elif os.environ.get('TERM') in ('dumb', ''):
         # e.g. emacs compile window
         cls = CLIUIFactory
     # User may know better, otherwise default to TextUIFactory



More information about the bazaar-commits mailing list