added dev assert

This commit is contained in:
Darren Ranalli 2003-12-16 01:43:03 +00:00
parent 3a0a32d8aa
commit b41597d6dd

View File

@ -41,6 +41,7 @@ def updateSpec(specModule, entTypeModule=EntityTypes, modelPath=None):
def privUpdateSpec(spec, modelPath, entTypeModule):
"""internal: take a spec and update it to match its level model"""
assert __dev__
assert type(entTypeModule) is types.ModuleType
import EntityTypeRegistry
etr = EntityTypeRegistry.EntityTypeRegistry(entTypeModule)