changeset 9749:1b1b33ae5a24

Related to Issue919: ui.progress, apparently unused before now, is busted.
author Jesse Glick <jesse.glick@sun.com>
date Thu, 05 Nov 2009 16:40:48 -0500
parents 67e5d5a2f625
children f153af9580fe
files mercurial/ui.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ui.py	Sat Oct 17 14:00:41 2009 -0400
+++ b/mercurial/ui.py	Thu Nov 05 16:40:48 2009 -0500
@@ -377,7 +377,7 @@
 
         if total:
             pct = 100.0 * pos / total
-            ui.debug('%s:%s %s/%s%s (%4.2g%%)\n'
+            self.debug('%s:%s %s/%s%s (%4.2g%%)\n'
                      % (topic, item, pos, total, unit, pct))
         else:
-            ui.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
+            self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))