a new exception can be raised with [10752], handle it. Fixes #4547

This commit is contained in:
Yann Leboulanger 2008-12-04 07:07:12 +00:00
parent 13a2d98bcf
commit 7e2f44bee5
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class GnomePasswordStorage(PasswordStorage):
try: try:
auth_token = conf.split('gnomekeyring:')[1] auth_token = conf.split('gnomekeyring:')[1]
auth_token = int(auth_token) auth_token = int(auth_token)
except ValueError: except (IndexError, ValueError):
password = conf password = conf
## migrate the password over to keyring ## migrate the password over to keyring
try: try: