summaryrefslogtreecommitdiff
path: root/nova/crypto.py
diff options
context:
space:
mode:
authorAlexander Bochkarev <abochkarev@mirantis.com>2014-02-28 15:27:32 +0400
committerMatthew Gilliard <matthew.gilliard@hp.com>2014-05-28 14:55:08 +0100
commit1fdc4afa157887d45e2f326d7373a5b1e8ee7aeb (patch)
tree7f7940ccda6079cd6f075ba31703f904a17abd5f /nova/crypto.py
parent5a7eb3aa6874024c8ff4cfb7031efc0e5a58cf82 (diff)
downloadnova-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/crypto.py')
-rw-r--r--nova/crypto.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/crypto.py b/nova/crypto.py
index bcca2994b9..d462468cc4 100644
--- a/nova/crypto.py
+++ b/nova/crypto.py
@@ -375,7 +375,6 @@ def sign_csr(csr_text, project_id=None):
if not project_id:
return _sign_csr(csr_text, ca_folder())
_ensure_project_folder(project_id)
- project_folder = ca_folder(project_id)
return _sign_csr(csr_text, ca_folder(project_id))