equal
deleted
inserted
replaced
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() |