fix an undefined variable spotted by pychecker
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 17 Jun 2006 18:20:09 +0200
changeset 2450 b93cab5ed776
parent 2449 6ff30968f911
child 2451 134227b82a96
fix an undefined variable spotted by pychecker
mercurial/httprepo.py
--- a/mercurial/httprepo.py	Sat Jun 17 18:15:48 2006 +0200
+++ b/mercurial/httprepo.py	Sat Jun 17 18:20:09 2006 +0200
@@ -23,7 +23,7 @@
         if authinfo != (None, None):
             return authinfo
 
-        if not ui.interactive:
+        if not self.ui.interactive:
             raise util.Abort(_('http authorization required'))
 
         self.ui.write(_("http authorization required\n"))