nodedev: remove useless exception instance

Commit f341352cda
removed redundant error string,
so the instance 'e' in exception is useless.
Just delete it.

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
This commit is contained in:
Chen Hanxiao 2017-03-30 22:43:44 +08:00
parent f341352cda
commit a72d368c4e

View File

@ -84,7 +84,7 @@ class NodeDevice(XMLBuilder):
try:
return _AddressStringToNodedev(conn, idstring)
except Exception, e:
except Exception:
logging.debug("Error looking up nodedev from idstring=%s",
idstring, exc_info=True)
raise