changeset 2446:1b2bbb2b4911

httprepo: fix small bug in authentication.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 16 Jun 2006 10:02:59 -0700
parents e58889a9d378
children cd00531ecc16
files mercurial/httprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"))