must check for relation inlined in main form type
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 27 Jan 2010 11:15:32 +0100
changeset 4400 4d36e0e93fdb
parent 4399 bc8d7ac70347
child 4401 4d973c834eb3
must check for relation inlined in main form type
devtools/devctl.py
--- a/devtools/devctl.py	Wed Jan 27 11:14:57 2010 +0100
+++ b/devtools/devctl.py	Wed Jan 27 11:15:32 2010 +0100
@@ -160,9 +160,9 @@
                 continue
             for tschema in targetschemas:
                 fsections = afs.etype_get(eschema, rschema, role, tschema)
-                if 'inlined_attributes' in fsections and \
+                if 'main_inlined' in fsections and \
                        (libconfig is None or not
-                        'inlined_attributes' in libafs.etype_get(
+                        'main_inlined' in libafs.etype_get(
                             eschema, rschema, role, tschema)):
                     add_msg(w, 'add a %s' % tschema,
                             'inlined:%s.%s.%s' % (etype, rschema, role))