equal
deleted
inserted
replaced
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 |
9 |
10 import sys |
10 import sys |
11 from datetime import datetime |
11 from datetime import datetime |
12 from os import mkdir, chdir, listdir |
12 from os import mkdir, chdir |
13 from os.path import join, exists, abspath, basename, normpath, split, isdir |
13 from os.path import join, exists, abspath, basename, normpath, split, isdir |
14 |
14 |
15 |
15 |
16 from logilab.common import STD_BLACKLIST |
16 from logilab.common import STD_BLACKLIST |
17 from logilab.common.modutils import get_module_files |
17 from logilab.common.modutils import get_module_files |
141 if rschema.description and rschema.description not in done: |
141 if rschema.description and rschema.description not in done: |
142 done.add(rschema.description) |
142 done.add(rschema.description) |
143 add_msg(w, rschema.description) |
143 add_msg(w, rschema.description) |
144 w('# add related box generated message\n') |
144 w('# add related box generated message\n') |
145 w('\n') |
145 w('\n') |
146 actionbox = self.vreg['actions']['edit_box'][0] |
146 actionbox = vreg['boxes']['edit_box'][0] |
147 for eschema in schema.entities(): |
147 for eschema in schema.entities(): |
148 if eschema.is_final(): |
148 if eschema.is_final(): |
149 continue |
149 continue |
150 for x, rschemas in (('subject', eschema.subject_relations()), |
150 for x, rschemas in (('subject', eschema.subject_relations()), |
151 ('object', eschema.object_relations())): |
151 ('object', eschema.object_relations())): |