diff --git a/workers/worker_git_integration.py b/workers/worker_git_integration.py index 8e6a69b446..4449d9d590 100644 --- a/workers/worker_git_integration.py +++ b/workers/worker_git_integration.py @@ -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}")