changeset 2450:b93cab5ed776

fix an undefined variable spotted by pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 17 Jun 2006 18:20:09 +0200
parents 6ff30968f911
children 134227b82a96
files mercurial/httprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"))