fix i18nupdate tls-sprint
authorsylvain.thenault@logilab.fr
Mon, 04 May 2009 17:24:43 +0200
branchtls-sprint
changeset 1662 a2c550e464ad
parent 1661 00340ebedc24
child 1665 14a8f9d434c8
child 1670 41deb5175729
fix i18nupdate
devtools/devctl.py
--- a/devtools/devctl.py	Mon May 04 17:03:44 2009 +0200
+++ b/devtools/devctl.py	Mon May 04 17:24:43 2009 +0200
@@ -157,10 +157,10 @@
                 for teschema in rschema.targets(eschema, role):
                     if libconfig is not None:
                         if role == 'subject':
-                            subjtype, objtype = etype, tetype
+                            subjtype, objtype = eschema, teschema
                         else:
-                            subjtype, objtype = tetype, etype
-                        if libschema.rschema(rtype).has_rdef(subjtype, objtype):
+                            subjtype, objtype = teschema, eschema
+                        if rschema.has_rdef(subjtype, objtype):
                             continue
                     if actionbox.relation_mode(rschema, eschema, teschema, role) == 'create':
                         if role == 'subject':