From 62c0cef7594686d5179e2de759085ece08ff77a6 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 22 Jan 2010 18:57:31 +0000 Subject: [PATCH] Remove an unused variable --- terminatorlib/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/factory.py b/terminatorlib/factory.py index 24442eeb..b4f15dcf 100755 --- a/terminatorlib/factory.py +++ b/terminatorlib/factory.py @@ -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)))