Mercurial > hg-stable
diff mercurial/httprepo.py @ 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 | c660691fb45d |
children | cd00531ecc16 |
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"))