Mercurial > hg > hg-git
diff hggit/git_handler.py @ 1036:cfcd3032355c
compat: remove unused argument
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sat, 05 Aug 2017 17:07:59 -0500 |
parents | fa08148bc5fc |
children | b4d2180739bb |
line wrap: on
line diff
--- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -1695,8 +1695,7 @@ uri = uri[4:] if uri.startswith('http://') or uri.startswith('https://'): - realm = hgutil.urlreq.httppasswordmgrwithdefaultrealm() - pmgr = compat.passwordmgr(self.ui, realm) + pmgr = compat.passwordmgr(self.ui) auth = urllib2.HTTPBasicAuthHandler(pmgr) opener = urllib2.build_opener(auth)