don't abort DC class discovery if a module exists but does not define the class

This commit is contained in:
Darren Ranalli 2007-12-06 19:47:29 +00:00
parent 4b0a024743
commit 859f6904b8
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class ConnectionRepository(
if type(classDef) == types.ModuleType:
if not hasattr(classDef, className):
self.notify.warning("Module %s does not define class %s." % (className, className))
return
continue
classDef = getattr(classDef, className)
if type(classDef) != types.ClassType and type(classDef) != types.TypeType: