/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to keyring.py

  • Committer: Jelmer Vernooij
  • Date: 2009-06-04 21:10:21 UTC
  • Revision ID: jelmer@samba.org-20090604211021-o3ycs1uy97mwoime
Catch NoKeyringDaemonError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                gnomekeyring.ITEM_NETWORK_PASSWORD, attrs)
74
74
            credentials["user"] = items[0].attributes["user"]
75
75
            credentials["password"] = items[0].secret
76
 
        except (gnomekeyring.NoMatchError, gnomekeyring.DeniedError):
 
76
        except (gnomekeyring.NoMatchError, gnomekeyring.DeniedError, gnomekeyring.NoKeyringDaemonError):
77
77
            return None