def translateRegistry(_registry): global id_scope translate_dict = {'DBModuleDescriptor': {'portSpecs': update_portSpecs}} registry = DBRegistry() id_scope = registry.idScope vistrail = DBRegistry.update_version(_registry, translate_dict, registry) registry.db_version = '1.0.2' return registry
def translateRegistry(_registry): translate_dict = {} registry = DBRegistry.update_version(_registry, translate_dict) registry.db_version = '1.0.2' return registry