Mercurial > public > mercurial-scm > hg-stable
diff mercurial/url.py @ 8208:32a2a1e244f1
ui: make interactive a method
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Apr 2009 16:50:44 -0500 |
parents | bbc24c0753a0 |
children | 46293a0c7e9f |
line wrap: on
line diff
--- a/mercurial/url.py Sun Apr 26 16:50:44 2009 -0500 +++ b/mercurial/url.py Sun Apr 26 16:50:44 2009 -0500 @@ -107,7 +107,7 @@ if user and passwd: return (user, passwd) - if not self.ui.interactive: + if not self.ui.interactive(): raise util.Abort(_('http authorization required')) self.ui.write(_("http authorization required\n"))