Commits

Ronny Pfannschmidt committed b04a36a

simplify progres bar

  • Participants
  • Parent commits f43d270

Comments (0)

Files changed (1)

couchdb_compose/cli.py

             db.view(view_basename+name, limit=0, stale='update_after').first()
             break # stop after the first
 
+    #XXX worst progres bar ever :P
     found = True
     while found:
         py.std.time.sleep(.1)
             if task['database'] == db.dbname and \
                task['design_document'] == newdoc['_id']:
                 found = True
-                print('progress', task['progress'],end='\r')
-    print('\ndone')
+                print('progress', task['progress'], end='\r')
+    print('done       ')
 
 
 def drop_viewdata(args, composer):