devtools/devctl.py
changeset 2528 6ae5d8082b39
parent 2527 e60db6312aa0
child 2534 cda22bc0e6ef
equal deleted inserted replaced
2527:e60db6312aa0 2528:6ae5d8082b39
   114     w('# schema pot file, generated on %s\n' % datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
   114     w('# schema pot file, generated on %s\n' % datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
   115     w('# \n')
   115     w('# \n')
   116     w('# singular and plural forms for each entity type\n')
   116     w('# singular and plural forms for each entity type\n')
   117     w('\n')
   117     w('\n')
   118     if libconfig is not None:
   118     if libconfig is not None:
   119         print 'lib conf cubes', libconfig.cubes()
       
   120         libschema = libconfig.load_schema(remove_unused_rtypes=False)
   119         libschema = libconfig.load_schema(remove_unused_rtypes=False)
   121         entities = [e for e in schema.entities() if not e in libschema]
   120         entities = [e for e in schema.entities() if not e in libschema]
   122     else:
   121     else:
   123         entities = schema.entities()
   122         entities = schema.entities()
   124     done = set()
   123     done = set()