accept HumanDNA instead of HumanDNAAI

This commit is contained in:
David Rose 2005-03-09 20:33:13 +00:00
parent 80109f394c
commit 497d3b2610

View File

@ -141,6 +141,11 @@ class ServerRepository:
# Does the class have a definition defined in the newly # Does the class have a definition defined in the newly
# imported namespace? # imported namespace?
classDef = dcImports.get(className) classDef = dcImports.get(className)
# Also try it without the dcSuffix.
if classDef == None:
classDef = dcImports.get(dcClass.getName())
if classDef == None: if classDef == None:
self.notify.info("No class definition for %s." % (className)) self.notify.info("No class definition for %s." % (className))
else: else: