/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: Vincent Ladeuil
  • Date: 2010-02-24 08:56:08 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100224085608-ybyx6m452lc5iua2
Open 0.99.0 for development.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
                gnomekeyring.ITEM_NETWORK_PASSWORD, attrs)
78
78
            credentials["user"] = items[0].attributes["user"]
79
79
            credentials["password"] = items[0].secret
80
 
            return credentials
81
 
        except (gnomekeyring.NoMatchError, gnomekeyring.DeniedError, gnomekeyring.NoKeyringDaemonError,
82
 
                gnomekeyring.IOError), e:
83
 
            from bzrlib import trace
84
 
            trace.mutter('Unable to obtain credentials for %r from GNOME keyring: %r',
85
 
                         attrs, e)
 
80
        except (gnomekeyring.NoMatchError, gnomekeyring.DeniedError, gnomekeyring.NoKeyringDaemonError):
86
81
            return None