hgext/factotum.py
changeset 29377 2c019aac6b99
parent 28971 bacca31f4835
child 33241 21b568820a3c
--- a/hgext/factotum.py	Wed Jun 01 22:58:57 2016 +0200
+++ b/hgext/factotum.py	Sun Jun 05 23:36:23 2016 +0200
@@ -102,8 +102,7 @@
 
 @monkeypatch_method(passwordmgr)
 def find_user_password(self, realm, authuri):
-    user, passwd = urlreq.httppasswordmgrwithdefaultrealm.find_user_password(
-        self, realm, authuri)
+    user, passwd = self.passwddb.find_user_password(realm, authuri)
     if user and passwd:
         self._writedebug(user, passwd)
         return (user, passwd)