--- a/server/schemaserial.py Sat Jul 18 22:58:30 2009 +0200
+++ b/server/schemaserial.py Sun Jul 19 16:10:59 2009 +0200
@@ -277,12 +277,13 @@
"""synchronize schema and permissions in the database according to
current schema
"""
- print '-> storing the schema in the database...'
+ _title = '-> storing the schema in the database '
+ print _title,
eschemas = schema.entities()
aller = eschemas + schema.relations()
if not verbose:
pb_size = len(aller) + len(CONSTRAINTS) + len([x for x in eschemas if x.specializes()])
- pb = ProgressBar(pb_size)
+ pb = ProgressBar(pb_size, title=_title)
for cstrtype in CONSTRAINTS:
rql = 'INSERT CWConstraintType X: X name "%s"' % cstrtype
if verbose: