FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit efca9e79 authored by Stephen Lovell's avatar Stephen Lovell
Browse files

Merge branch 'issue-4-remove-progress' into 'master'

remove useless progress indicator

Closes #4

See merge request !3
parents 6d1c7a81 961514f0
No related branches found
No related tags found
1 merge request!3remove useless progress indicator
Pipeline #2302 passed
......@@ -141,11 +141,7 @@ def sync(configuration, *, read_only=True):
LOG.info('Calculating updates...')
google_user_updates = {}
google_user_creations = {}
for idx, (uid, managed_user_entry) in enumerate(managed_user_entries_by_uid.items()):
# Show progress
if (idx + 1) % 5000 == 0:
LOG.info('Processed %s/%s...', idx+1, len(managed_user_entries_by_uid))
for uid, managed_user_entry in managed_user_entries_by_uid.items():
# Heuristically determine the given and family names.
names = naming.get_names(
uid=uid, display_name=managed_user_entry.displayName, cn=managed_user_entry.cn,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment