[fti] properly close the ProgressBar
Ensures cubicweb-ctl db-rebuild-fti ends its output with a newline.
--- a/server/checkintegrity.py Mon Mar 17 12:13:14 2014 +0100
+++ b/server/checkintegrity.py Mon Mar 17 12:15:20 2014 +0100
@@ -130,6 +130,8 @@
cnx.drop_entity_cache()
if withpb:
pb.update()
+ if withpb:
+ pb.finish()
def check_schema(schema, cnx, eids, fix=1):