mercurial/ui.py
changeset 8132 cece135ffcf0
parent 7798 57fee79e5588
child 8133 57a2a0070d6b
--- a/mercurial/ui.py	Mon Apr 13 21:23:52 2009 +0300
+++ b/mercurial/ui.py	Thu Apr 23 15:40:10 2009 -0500
@@ -24,8 +24,6 @@
             dest.set(section, name, value)
 
 class ui(object):
-    _isatty = None
-
     def __init__(self, verbose=False, debug=False, quiet=False,
                  interactive=True, traceback=False, report_untrusted=True,
                  parentui=None):
@@ -69,6 +67,7 @@
     def __getattr__(self, key):
         return getattr(self.parentui, key)
 
+    _isatty = None
     def isatty(self):
         if ui._isatty is None:
             ui._isatty = sys.stdin.isatty()