httprepo: fix small bug in authentication.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Fri, 16 Jun 2006 10:02:59 -0700
changeset 2446 1b2bbb2b4911
parent 2445 e58889a9d378
child 2447 cd00531ecc16
httprepo: fix small bug in authentication.
mercurial/httprepo.py
--- a/mercurial/httprepo.py	Fri Jun 16 08:52:28 2006 -0700
+++ b/mercurial/httprepo.py	Fri Jun 16 10:02:59 2006 -0700
@@ -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"))