diff options
author | Alexander Bochkarev <abochkarev@mirantis.com> | 2014-02-28 15:27:32 +0400 |
---|---|---|
committer | Matthew Gilliard <matthew.gilliard@hp.com> | 2014-05-28 14:55:08 +0100 |
commit | 1fdc4afa157887d45e2f326d7373a5b1e8ee7aeb (patch) | |
tree | 7f7940ccda6079cd6f075ba31703f904a17abd5f /nova/servicegroup/drivers | |
parent | 5a7eb3aa6874024c8ff4cfb7031efc0e5a58cf82 (diff) | |
download | nova-1fdc4afa157887d45e2f326d7373a5b1e8ee7aeb.tar.gz |
Enable flake8 F841 checking
This check looks to see whether a local variable
is unused. Fixed all of violators of said check.
Change-Id: I6ff349ca8d650ae7d6ebeeb116a1649b0db8f071
Diffstat (limited to 'nova/servicegroup/drivers')
-rw-r--r-- | nova/servicegroup/drivers/mc.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/servicegroup/drivers/mc.py b/nova/servicegroup/drivers/mc.py index b39eb4c8ff..e83163ff73 100644 --- a/nova/servicegroup/drivers/mc.py +++ b/nova/servicegroup/drivers/mc.py @@ -84,7 +84,6 @@ class MemcachedDriver(api.ServiceGroupDriver): def _report_state(self, service): """Update the state of this service in the datastore.""" - ctxt = context.get_admin_context() try: key = "%(topic)s:%(host)s" % service.service_ref # memcached has data expiration time capability. |