[c-c db-check] missing comma ending print statement to get expected output stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 22 Jul 2011 15:41:17 +0200
branchstable
changeset 7686 6580b5a0f1cf
parent 7685 902909e5f733
child 7687 4f5ab60e71cc
[c-c db-check] missing comma ending print statement to get expected output
server/checkintegrity.py
--- a/server/checkintegrity.py	Fri Jul 22 08:34:38 2011 +0200
+++ b/server/checkintegrity.py	Fri Jul 22 15:41:17 2011 +0200
@@ -283,7 +283,7 @@
                     rql = 'Any X WHERE NOT Y %s X, X is %s' % (rschema, etype)
                 for entity in session.execute(rql).entities():
                     print >> sys.stderr, '%s #%s is missing mandatory %s relation %s' % (
-                        entity.__regid__, entity.eid, role, rschema)
+                        entity.__regid__, entity.eid, role, rschema),
                     if fix:
                         #if entity.cw_describe()['source']['uri'] == 'system': XXX
                         entity.cw_delete()
@@ -304,7 +304,7 @@
                     rschema, rdef.subject)
                 for entity in session.execute(rql).entities():
                     print >> sys.stderr, '%s #%s is missing mandatory attribute %s' % (
-                        entity.__regid__, entity.eid, rschema)
+                        entity.__regid__, entity.eid, rschema),
                     if fix:
                         entity.cw_delete()
                     notify_fixed(fix)