Show More
@@ -58,6 +58,8 b' class passwordmgr(object):' | |||||
58 | return self.passwddb.add_password(realm, uri, user, passwd) |
|
58 | return self.passwddb.add_password(realm, uri, user, passwd) | |
59 |
|
59 | |||
60 | def find_user_password(self, realm, authuri): |
|
60 | def find_user_password(self, realm, authuri): | |
|
61 | assert isinstance(realm, (type(None), str)) | |||
|
62 | assert isinstance(authuri, str) | |||
61 | authinfo = self.passwddb.find_user_password(realm, authuri) |
|
63 | authinfo = self.passwddb.find_user_password(realm, authuri) | |
62 | user, passwd = authinfo |
|
64 | user, passwd = authinfo | |
63 | if user and passwd: |
|
65 | if user and passwd: |
General Comments 0
You need to be logged in to leave comments.
Login now