# Attempt to load the found module.
+ loaded = None
try:
found = imputil.imp.find_module(module)
loaded = imputil.imp.load_module(module, found[0], found[1], found[2])
except ImportError, e:
print(_("Error loading module %s.") % module)
+ if not loaded:
+ continue
+
# Find class names that match the supplied pattern (default: "_TestCase")
beforeCount = len(tstList)
for obj in loaded.__dict__.keys():
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list