Skip to content

Commit

Permalink
checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Oct 6, 2023
1 parent e37ff1b commit 8051678
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions dev/scripts.community/check_unverified_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,14 @@ def do_check():
gdata = umap_by_github_id[old_guid]

github_logins = []
for lkey in ['github_login', 'github_login_new']:
if gdata.get(lkey):
github_logins.append(gdata[lkey])
#for lkey in ['github_login', 'github_login_new']:
# if gdata.get(lkey):
# github_logins.append(gdata[lkey])
github_logins = []
if gdata.get('github_login_new'):
github_logins.append(gdata['github_login_new'])
elif gdata.get('github_login'):
github_logins.append(gdata['github_login'])

if not github_logins:
continue
Expand Down Expand Up @@ -165,6 +170,7 @@ def do_check():
continue
elif this_user:
pass
found_users.append(this_user)
else:
print(f'FIX - create {login} user to match {unverified_user}')

Expand Down

0 comments on commit 8051678

Please sign in to comment.