summaryrefslogtreecommitdiffstats
path: root/nova/scheduler
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-06-13 13:57:15 +0000
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-06-13 17:04:08 +0000
commit9f7eaca80d259201844f097fec24d1e9fe9fb5e3 (patch)
tree2e2c40b54a0d7c1b7e73818c281ad375d0a99861 /nova/scheduler
parent77595f8e08a61507ad5c7c990651fd4f8131c150 (diff)
downloadnova-9f7eaca80d259201844f097fec24d1e9fe9fb5e3.tar.gz
nova-9f7eaca80d259201844f097fec24d1e9fe9fb5e3.tar.xz
nova-9f7eaca80d259201844f097fec24d1e9fe9fb5e3.zip
Remove trivial cases of unused variables (1)
Kill some of the variables marked as unused by flakes8. This should allow to enable F841 check in the future. Only trivial cases with no function calls and obviously pure functions (like datetime.now(), or len()) are cleaned up here. Part 1, split to reduce conflicts. Change-Id: I82854349574ec4bcb9336aba626eefdaed81a8c8
Diffstat (limited to 'nova/scheduler')
-rw-r--r--nova/scheduler/filters/trusted_filter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/scheduler/filters/trusted_filter.py b/nova/scheduler/filters/trusted_filter.py
index bb1962ebe..522a68096 100644
--- a/nova/scheduler/filters/trusted_filter.py
+++ b/nova/scheduler/filters/trusted_filter.py
@@ -153,7 +153,7 @@ class AttestationService(object):
return httplib.OK, res
return status_code, None
- except (socket.error, IOError) as e:
+ except (socket.error, IOError):
return IOError, None
def _request(self, cmd, subcmd, hosts):