server/checkintegrity.py
changeset 10846 d186820c5f7a
parent 10840 5669e136860b
child 10847 ce5403611cbe
--- a/server/checkintegrity.py	Thu Nov 19 17:16:19 2015 +0100
+++ b/server/checkintegrity.py	Thu Nov 19 16:48:55 2015 +0100
@@ -124,10 +124,7 @@
     source = repo.system_source
     for eschema in etypes:
         etype_class = cnx.vreg['etypes'].etype_class(str(eschema))
-        queries = list(etype_class.cw_fti_index_rql_queries(cnx))
-        for i, fti_rql in enumerate(queries):
-            if withpb:
-                pb.text = "%s: %s%%" % (str(eschema), i * 100 / len(queries))
+        for fti_rql in etype_class.cw_fti_index_rql_queries(cnx):
             rset = cnx.execute(fti_rql)
             source.fti_index_entities(cnx, rset.entities())
             # clear entity cache to avoid high memory consumption on big tables