# HG changeset patch # User Vadim Gelfer # Date 1150477379 25200 # Node ID 1b2bbb2b49116c7c53cc199f4aeba9444c292037 # Parent e58889a9d3785ee53f4e3d2ba55edb6698e47097 httprepo: fix small bug in authentication. diff -r e58889a9d378 -r 1b2bbb2b4911 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"))