Package: python-novaclient
Version: 2:2.15.0-1
Severity: important
Tags: patch
Usertags: keyring-3.2

In python-keyring 1.1 the keyrings from keyring.backend have been moved
into separate modules in keyring.backends and compatibility imports have
been added in keyring.backend. In python-keyring 3.0 these compatibility
imports have been removed. python-novaclient still uses keyrings from
keyring.backend and needs to be adopted for the new naming scheme.

Please apply the attached patch to make python-novaclient compatible
with python-keyring 3.0 and later. Please also adjust dependencies on
python-keyring if necessary. python-keyring 3.2 is available in
experimental so that you can test the patch.

Regards
-- 
Sebastian Ramacher
--- python-novaclient-2.15.0.orig/novaclient/shell.py
+++ python-novaclient-2.15.0/novaclient/shell.py
@@ -36,9 +36,10 @@ HAS_KEYRING = False
 all_errors = ValueError
 try:
     import keyring
+    import keyring.backends.gnome
     HAS_KEYRING = True
     try:
-        if isinstance(keyring.get_keyring(), keyring.backend.GnomeKeyring):
+        if isinstance(keyring.get_keyring(), keyring.backends.gnome.Keyring):
             import gnomekeyring
             all_errors = (ValueError,
                           gnomekeyring.IOError,

Attachment: signature.asc
Description: Digital signature

Reply via email to