mercurial/ui.py
changeset 9749 1b1b33ae5a24
parent 9613 c63c336ee2f7
child 9786 951730b2b8ba
--- 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))