Show progress through user list
This commit is contained in:
parent
3588e5937f
commit
1440e060e4
@ -356,8 +356,8 @@ with shelve.open('shelf.db') as shelf:
|
|||||||
|
|
||||||
if not args.dump:
|
if not args.dump:
|
||||||
while iterator <= MAX_DEGREE:
|
while iterator <= MAX_DEGREE:
|
||||||
for user_str in users_to_process:
|
for pos, user_str in enumerate(users_to_process):
|
||||||
print('Processing ' + user_str + ' (distance ' + str(iterator) + ')')
|
print('Processing {} (distance {}, {} of {})'.format(user_str, str(iterator), str(pos), str(len(users_to_process))))
|
||||||
|
|
||||||
# Skip any users that have already been passed over to avoid infinite loops
|
# Skip any users that have already been passed over to avoid infinite loops
|
||||||
if user_str in user_dict.keys():
|
if user_str in user_dict.keys():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user