##// END OF EJS Templates
Don't catch ImportError when trying to unpack module functions...
MinRK -
Show More
@@ -98,11 +98,7 b' class CannedFunction(CannedObject):'
98 98 def get_object(self, g=None):
99 99 # try to load function back into its module:
100 100 if not self.module.startswith('__'):
101 try:
102 101 __import__(self.module)
103 except ImportError:
104 pass
105 else:
106 102 g = sys.modules[self.module].__dict__
107 103
108 104 if g is None:
General Comments 0
You need to be logged in to leave comments. Login now