mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-22 06:28:53 +02:00
dependency counter fixed. done += 1 needs to be indented correctly.
This commit is contained in:
@@ -162,10 +162,10 @@ class Fetcher:
|
||||
try:
|
||||
# if there isn't a progress bar, there is no output at all
|
||||
if not self.progress_obj:
|
||||
print '%d/%d (%s) %s' % (done, all, i.project, i.filename)
|
||||
print '%d/%d (%s) %s' % (done, needed, i.project, i.filename)
|
||||
self.fetch(i)
|
||||
if self.progress_obj:
|
||||
print " %d/%d\r" % (done,all),
|
||||
print " %d/%d\r" % (done, needed),
|
||||
sys.stdout.flush()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
Reference in New Issue
Block a user