Skip to content

Commit

Permalink
May santa have mercy on my soul.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoggins committed Dec 13, 2021
1 parent b4c1ab5 commit a570a30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions workers/worker_git_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,11 @@ def enrich_cntrb_id(
data[f'{prefix}id']
for row in table_values_cntrb:
try:
if str(row['gh_user_id']) == 'NaN': # 12/2/2021 SPG -- just skipping this user for now
user_unique_ids.append(row(74832)) # actual gh_user_id for login nan
# continue took out continue
else:
user_unique_ids.append(row['gh_user_id']) ## cast as string by SPG on 11/28/2021 due to `nan` user
# if str(row['gh_user_id']) == 'NaN': # 12/2/2021 SPG -- just skipping this user for now
# user_unique_ids.append(row(74832)) # actual gh_user_id for login nan
# # continue took out continue
# else: # 12/13/2021 ... I don't know .. trying this.
user_unique_ids.append(row['gh_user_id']) ## cast as string by SPG on 11/28/2021 due to `nan` user
# by 12/2/2021 it became clear this was causing a match failure. Removed string cast.
except Exception as e:
self.logger.info(f"Error adding gh_user_id: {e}. Row: {row}")
Expand Down

0 comments on commit a570a30

Please sign in to comment.