Skip to content

Commit

Permalink
Merge branch 'master' into abel-states-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
trav3711 authored Feb 13, 2024
2 parents 6bbfc74 + e86c9c9 commit 7ad826d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/abel/validators/spreadsheet_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,16 +376,16 @@ def _ValidateConnections(
validation_errors.append(
ConnectionDependencyError(
row=row_number,
missing_code=connection.get(TARGET_ENTITY_CODE),
present_code=connection.get(SOURCE_ENTITY_CODE),
missing_code=connection.get(SOURCE_ENTITY_CODE),
present_code=connection.get(TARGET_ENTITY_CODE),
)
)
if connection[TARGET_ENTITY_CODE] not in codes:
validation_errors.append(
ConnectionDependencyError(
row=row_number,
missing_code=connection[SOURCE_ENTITY_CODE],
present_code=connection[TARGET_ENTITY_CODE],
missing_code=connection.get(TARGET_ENTITY_CODE),
present_code=connection.get(SOURCE_ENTITY_CODE),
)
)
return validation_errors
Expand Down

0 comments on commit 7ad826d

Please sign in to comment.