diff hggit/git_handler.py @ 1035: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	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)