Mercurial > hg-git
changeset 1035:cfcd3032355c
compat: remove unused argument
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sat, 05 Aug 2017 17:07:59 -0500 |
parents | fa08148bc5fc |
children | da62ef0569bb |
files | hggit/compat.py hggit/git_handler.py |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/compat.py Sat Aug 05 17:03:33 2017 -0500 +++ b/hggit/compat.py Sat Aug 05 17:07:59 2017 -0500 @@ -28,7 +28,7 @@ s = s.replace(c, '') return s -def passwordmgr(ui, passwddb): +def passwordmgr(ui): try: return url.passwordmgr(ui, hgutil.urlreq.httppasswordmgrwithdefaultrealm())
--- a/hggit/git_handler.py Sat Aug 05 17:03:33 2017 -0500 +++ b/hggit/git_handler.py Sat Aug 05 17:07:59 2017 -0500 @@ -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)