Skip to content
Snippets Groups Projects
Commit 914c50aa authored by Kevin Bullock's avatar Kevin Bullock
Browse files

compat: fix use of total in progress class standin

parent 4ea7c557
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,7 @@
self.pos = 0
self.topic = topic
self.unit = unit
self.total = total
def __enter__(self):
return self
......@@ -224,7 +225,6 @@
def _updatebar(self, item=""):
self.ui.progress(self.topic, self.pos, item, self.unit, self.total)
pass
def update(self, pos, item="", total=None):
self.pos = pos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment