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/image | |
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/image')
-rw-r--r-- | nova/image/glance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index 6b24cc2c4d..2e8ca103fe 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -282,7 +282,7 @@ class GlanceImageService(object): return self._download_handlers[scheme] except KeyError: return None - except Exception as ex: + except Exception: LOG.error(_("Failed to instantiate the download handler " "for %(scheme)s") % {'scheme': scheme}) return |