Remove an unused variable

This commit is contained in:
Chris Jones 2010-01-22 18:57:31 +00:00
parent 9e625ed16b
commit 62c0cef759

View File

@ -51,7 +51,7 @@ class Factory(Borg):
# this to be less insane.
try:
module = __import__(types[classtype], None, None, [''])
except ImportError, ex:
except ImportError:
module = __import__('terminatorlib.%s' % types[classtype],
None, None, [''])
return(isinstance(product, getattr(module, classtype)))