info is arg ;)
This commit is contained in:
@@ -126,7 +126,7 @@ class CLI(UI):
|
|||||||
|
|
||||||
def display_progress(self, operation, percent, info="", **ka):
|
def display_progress(self, operation, percent, info="", **ka):
|
||||||
""" display progress of any operation """
|
""" display progress of any operation """
|
||||||
|
print operation
|
||||||
if operation == "removing":
|
if operation == "removing":
|
||||||
return
|
return
|
||||||
elif operation == "fetching":
|
elif operation == "fetching":
|
||||||
@@ -136,7 +136,7 @@ class CLI(UI):
|
|||||||
ka['rate'], ka['symbol'], ka['eta'])
|
ka['rate'], ka['symbol'], ka['eta'])
|
||||||
self.output(out)
|
self.output(out)
|
||||||
else:
|
else:
|
||||||
self.output("\r%s (%d%%)" % (ka['info'], percent))
|
self.output("\r%s (%d%%)" % (info, percent))
|
||||||
|
|
||||||
if percent == 100:
|
if percent == 100:
|
||||||
self.output(colorize(_(' [complete]\n'), 'gray'))
|
self.output(colorize(_(' [complete]\n'), 'gray'))
|
||||||
|
|||||||
Reference in New Issue
Block a user