python-keyring isn't a hard dependency
This commit is contained in:
parent
ba6f31dac8
commit
aaa5b215ad
1 changed files with 1 additions and 2 deletions
|
|
@ -106,8 +106,7 @@ class ValueBackendPassword(Value):
|
|||
try:
|
||||
import keyring
|
||||
keyring.set_password(self._domain, self.id, passwd)
|
||||
except str, e:
|
||||
print str(e)
|
||||
except Exception, e:
|
||||
self._value = passwd
|
||||
else:
|
||||
self._value = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue