Skip to content

Commit 3b19550

Browse files
committed
Linting error
1 parent f0c9df1 commit 3b19550

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

filenameprocessor/src/file_name_processor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def handle_record(record) -> dict:
4444

4545
vaccine_type = "unknown"
4646
supplier = "unknown"
47+
expiry_timestamp = "unknown"
4748

4849
if bucket_name != SOURCE_BUCKET_NAME:
4950
return handle_unexpected_bucket_name(bucket_name, file_key)
@@ -100,7 +101,8 @@ def handle_record(record) -> dict:
100101
file_status = get_file_status_for_error(error)
101102

102103
upsert_audit_table(
103-
message_id, file_key, created_at_formatted_string, expiry_timestamp, queue_name, file_status, error_details=str(error)
104+
message_id, file_key, created_at_formatted_string, expiry_timestamp, queue_name, file_status,
105+
error_details=str(error)
104106
)
105107

106108
# Create ack file

0 commit comments

Comments
 (0)