On my machine sometimes, when python-keyring makes this call:
kwallet = KWallet.Wallet.openWallet(
KWallet.Wallet.NetworkWallet(), KWallet.Wallet.Synchronous)
kwallet prints this to stderr:
"The kwalletd service has been disabled"
and the kwallet value becomes None.
The way python-keyring is written now, it does not check for this case.
These patches:
https://bitbucket.org/paulproteus/python-keyring-lib/changeset/394050f04c5c
https://bitbucket.org/paulproteus/python-keyring-lib/changeset/16f741b06c24
together fix that.
I submit them for your review, and hopefully merging.
Let me know what you think!
-- Asheesh.