Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
torimcd committed Oct 31, 2024
1 parent d374573 commit 3e4a902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydrocron/db/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def lambda_handler(event, _): # noqa: E501 # pylint: disable=W0613
track_table = table_info['track_table']
feature_type = table_info['feature_type']
break
else:
else:
raise MissingTable(f"Error: Table does not exist: {table_name}")

logging.info("Searching for granules in collection %s", collection_shortname)
Expand Down Expand Up @@ -305,7 +305,7 @@ def load_data(dynamo_resource, table_name, items):
feature_name = 'track ingest ' + str.lower(table_info['feature_type'])
feature_id = 'granuleUR'
break
elif hydrocron_table.table_name in table_info['table_name']:
if hydrocron_table.table_name in table_info['table_name']:
feature_name = table_info['feature_type']
feature_id = table_info['feature_id']
break
Expand Down

0 comments on commit 3e4a902

Please sign in to comment.