# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1241450683 -7200 # Node ID a2c550e464ad7a918437572b02a393e022b04ba5 # Parent 00340ebedc24f4162455ef9b0198e145956d09a0 fix i18nupdate diff -r 00340ebedc24 -r a2c550e464ad 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':