Issue #46 resolved

underlying error if raised while setting password in keyring is not raised.

moqtar
created an issue

In the below code if OSError is raised then actually reason for the error is never known.

keyring/backend.py: {{{ class _ExtensionKeyring(KeyringBackend): def set_password(self, service, username, password): """Overide the set_password() in KeyringBackend. """ try: self.keyring_impl.password_set(service, username, password) except OSError: raise PasswordSetError() }}} So i think we should change this to. {{{ try: self.keyring_impl.password_set(service, username, password) except OSError, e: raise PasswordSetError(e) }}} so that we will know whats the actually error is.

regards,

Moqtar

Comments (2)

  1. Log in to comment