# HG changeset patch # User Benoit Boissinot # Date 1150561209 -7200 # Node ID b93cab5ed77651d097256da6f610c425cfd50f73 # Parent 6ff30968f911d31ae9a9e615e3b8fb3860e0ff84 fix an undefined variable spotted by pychecker diff -r 6ff30968f911 -r b93cab5ed776 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"))