|
@@ -113,7 +113,7 @@ the following meanings:
|
|
|
try:
|
|
try:
|
|
|
state = project.PrintWorkTreeStatus(output)
|
|
state = project.PrintWorkTreeStatus(output)
|
|
|
if state == 'CLEAN':
|
|
if state == 'CLEAN':
|
|
|
- clean_counter.next()
|
|
|
|
|
|
|
+ next(clean_counter)
|
|
|
finally:
|
|
finally:
|
|
|
sem.release()
|
|
sem.release()
|
|
|
|
|
|
|
@@ -141,7 +141,7 @@ the following meanings:
|
|
|
for project in all_projects:
|
|
for project in all_projects:
|
|
|
state = project.PrintWorkTreeStatus()
|
|
state = project.PrintWorkTreeStatus()
|
|
|
if state == 'CLEAN':
|
|
if state == 'CLEAN':
|
|
|
- counter.next()
|
|
|
|
|
|
|
+ next(counter)
|
|
|
else:
|
|
else:
|
|
|
sem = _threading.Semaphore(opt.jobs)
|
|
sem = _threading.Semaphore(opt.jobs)
|
|
|
threads_and_output = []
|
|
threads_and_output = []
|
|
@@ -164,7 +164,7 @@ the following meanings:
|
|
|
t.join()
|
|
t.join()
|
|
|
output.dump(sys.stdout)
|
|
output.dump(sys.stdout)
|
|
|
output.close()
|
|
output.close()
|
|
|
- if len(all_projects) == counter.next():
|
|
|
|
|
|
|
+ if len(all_projects) == next(counter):
|
|
|
print('nothing to commit (working directory clean)')
|
|
print('nothing to commit (working directory clean)')
|
|
|
|
|
|
|
|
if opt.orphans:
|
|
if opt.orphans:
|