[devctl] fix bug in i18nlibupdate
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 13 Nov 2008 11:27:22 +0100
changeset 57 3ab952845448
parent 55 5ff3ca010290
child 58 c7c22b210372
[devctl] fix bug in i18nlibupdate rtypes should be added to the 'done' set to avoid duplicated entries in schema.pot
devtools/devctl.py
--- a/devtools/devctl.py	Thu Nov 13 10:43:35 2008 +0100
+++ b/devtools/devctl.py	Thu Nov 13 11:27:22 2008 +0100
@@ -123,6 +123,7 @@
     for rschema in sorted(set(relations)):
         rtype = rschema.type
         add_msg(w, rtype)
+        done.add(rtype)
         if not (schema.rschema(rtype).is_final() or rschema.symetric):
             add_msg(w, '%s_object' % rtype)
         if rschema.description and rschema.description not in done: