Remove an unused variable
This commit is contained in:
parent
9e625ed16b
commit
62c0cef759
|
@ -51,7 +51,7 @@ class Factory(Borg):
|
||||||
# this to be less insane.
|
# this to be less insane.
|
||||||
try:
|
try:
|
||||||
module = __import__(types[classtype], None, None, [''])
|
module = __import__(types[classtype], None, None, [''])
|
||||||
except ImportError, ex:
|
except ImportError:
|
||||||
module = __import__('terminatorlib.%s' % types[classtype],
|
module = __import__('terminatorlib.%s' % types[classtype],
|
||||||
None, None, [''])
|
None, None, [''])
|
||||||
return(isinstance(product, getattr(module, classtype)))
|
return(isinstance(product, getattr(module, classtype)))
|
||||||
|
|
Loading…
Reference in New Issue