Show More
@@ -388,7 +388,11 b' class HTTPPasswordHandler(object):' | |||
|
388 | 388 | # Otherwise we won't be able to find the password so it |
|
389 | 389 | # does not make much sense to preserve it |
|
390 | 390 | _debug(ui, _("Saving password for %s to keyring") % user) |
|
391 | password_store.set_http_password(final_url, user, pwd) | |
|
391 | try: | |
|
392 | password_store.set_http_password(final_url, user, pwd) | |
|
393 | except keyring.errors.PasswordSetError, e: | |
|
394 | ui.traceback() | |
|
395 | ui.warn(_("warning: failed to save password in keyring\n")) | |
|
392 | 396 | |
|
393 | 397 | # Saving password to the memory cache |
|
394 | 398 | self.pwd_cache.store(realm, final_url, user, pwd) |
General Comments 0
You need to be logged in to leave comments.
Login now