File 0001-Adjust-to-non-deprecated-names-in-Keyring-1.6.patch of Package python-openstackclient

From 1fa1330e1d8bc9361bbe8c88490a20f9b8fddec1 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dirk@dmllr.de>
Date: Thu, 24 Oct 2013 14:24:33 +0200
Subject: [PATCH] Adjust to non-deprecated names in Keyring 1.6.+

Keyring 1.1 moved the concrete backend implementations into their
own modules. As we depend on 1.6.1+, we can make use of the new
name and remove the old one without deprecation-fallback.

Change-Id: I0682b13fc9f488b3f3d9fd057f712909fcd48bc4
---
 openstackclient/common/openstackkeyring.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openstackclient/common/openstackkeyring.py b/openstackclient/common/openstackkeyring.py
index e7431e5..34c994b 100644
--- a/openstackclient/common/openstackkeyring.py
+++ b/openstackclient/common/openstackkeyring.py
@@ -24,7 +24,7 @@ import os
 KEYRING_FILE = os.path.join(os.path.expanduser('~'), '.openstack-keyring.cfg')
 
 
-class OpenstackKeyring(keyring.backend.BasicFileKeyring):
+class OpenstackKeyring(keyring.backends.file.BaseKeyring):
     """Openstack Keyring to store encrypted password."""
     filename = KEYRING_FILE
 
-- 
1.8.4

openSUSE Build Service is sponsored by