[Pkg-bazaar-commits] ./bzr/unstable r667: - allow for progressbar updates with no count, only a message

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:20:39 UTC 2009


------------------------------------------------------------
revno: 667
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-06-10 19:40:50 +1000
message:
  - allow for progressbar updates with no count, only a message
modified:
  bzrlib/progress.py
-------------- next part --------------
=== modified file 'bzrlib/progress.py'
--- a/bzrlib/progress.py	2005-06-10 09:07:41 +0000
+++ b/bzrlib/progress.py	2005-06-10 09:40:50 +0000
@@ -113,7 +113,7 @@
                  
 
 
-    def update(self, msg, current_cnt, total_cnt=None):
+    def update(self, msg, current_cnt=None, total_cnt=None):
         """Update and redraw progress bar."""
         if self.suppressed:
             return



More information about the Pkg-bazaar-commits mailing list