FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

remove useless progress indicator

Merged Dr Rich Wareham requested to merge issue-4-remove-progress into master
1 file
+ 1
5
Compare changes
  • Side-by-side
  • Inline
+ 1
5
@@ -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,
Loading