entropy.db.regenerateDependsTable: when running with output = True,
print output every 150 iterations and don't spam the terminal
This commit is contained in:
@@ -4341,7 +4341,9 @@ class LocalRepository:
|
||||
up = self.updateProgress
|
||||
for iddep, atom in depends:
|
||||
count += 1
|
||||
if output:
|
||||
if output and ((count == 0) or (count % 150 == 0) or \
|
||||
(count == total)):
|
||||
|
||||
up( red("Resolving %s") % (atom,), importance = 0,
|
||||
type = "info", back = True, count = (count, total)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user