devtools/devctl.py
branch3.5
changeset 3280 c1f5625f2fea
parent 3275 5247789df541
child 3281 bea1bde00fbc
--- a/devtools/devctl.py	Thu Sep 17 11:08:09 2009 +0200
+++ b/devtools/devctl.py	Thu Sep 17 11:31:38 2009 +0200
@@ -152,8 +152,13 @@
         rtype = rschema.type
         for subjschema in rschema.subjects():
             add_msg(w, rtype, subjschema.type)
+            # bw compat, necessary until all translation of relation are done properly...
+        add_msg(w, rtype)
         done.add(rtype)
         if not (schema.rschema(rtype).is_final() or rschema.symetric):
+            for objschema in rschema.objects():
+                add_msg(w, '%s_object' % rtype, objschema.type)
+            # bw compat, necessary until all translation of relation are done properly...
             add_msg(w, '%s_object' % rtype)
         if rschema.description and rschema.description not in done:
             done.add(rschema.description)