From 0f8857543b43a2f0e2c567603a0a24de61c31d45 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 7 Aug 2013 07:03:45 +0100 Subject: Remove redundant global keyword in securemessage The global keyword is only needed where we are assigning to the variable in the method. Change-Id: If9f3fcc5323e2a154db1f5b457ce3d5079f83253 --- openstack/common/rpc/securemessage.py | 1 - 1 file changed, 1 deletion(-) (limited to 'openstack') diff --git a/openstack/common/rpc/securemessage.py b/openstack/common/rpc/securemessage.py index 4ecab02..2ec469e 100644 --- a/openstack/common/rpc/securemessage.py +++ b/openstack/common/rpc/securemessage.py @@ -361,7 +361,6 @@ class SecureMessage(object): err = "Secret Key (or key file) is missing or malformed" raise SharedKeyNotFound(self._name, err) - global _KEY_STORE self._key_store = key_store or _KEY_STORE def _init_key(self, cfg, topic, name): -- cgit