# HG changeset patch # User Stephanie Marcu # Date 1272466539 -7200 # Node ID 84d8b4357528af86f8e669f98815b939f9bac8f0 # Parent 98e0b7421e511f7b6499144e377363899720f5c2 fix i18ncube for pegase where we do strange things by redefining relations diff -r 98e0b7421e51 -r 84d8b4357528 devtools/devctl.py --- a/devtools/devctl.py Wed Apr 28 14:05:50 2010 +0200 +++ b/devtools/devctl.py Wed Apr 28 16:55:39 2010 +0200 @@ -174,9 +174,10 @@ 'inlined:%s.%s.%s' % (etype, rschema, role)) add_msg(w, str(tschema), 'inlined:%s.%s.%s' % (etype, rschema, role)) - if appearsin_addmenu.etype_get(eschema, rschema, role, tschema) and \ - (libconfig is None or not - libappearsin_addmenu.etype_get(eschema, rschema, role, tschema)): + if appearsin_addmenu.etype_get(eschema, rschema, role, tschema): + if libconfig is not None and libappearsin_addmenu.etype_get(eschema, rschema, role, tschema): + if eschema in libschema and tschema in libschema: + continue if role == 'subject': label = 'add %s %s %s %s' % (eschema, rschema, tschema, role)