Skip to content

Commit 235eea6

Browse files
committed
Fix code formatting
1 parent 94caeeb commit 235eea6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/worker/stac/tasks.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def execute(self, job: ExternalJob, result: JobResultBuilder, config: dict) -> J
159159
except HTTPStatusError as e:
160160
if e.response.status_code == 409:
161161
log_with_context(
162-
f"Collection {collection.id} already exists. To update this resource set process variable stac_update_collections to true"
162+
f"Collection {collection.id} already exists. "
163+
+ "To update this resource set process variable stac_update_collections to true"
163164
)
164165
except Exception as e:
165166
log_with_context(f"Error publishing collection: {str(e)}", log_context)
@@ -255,7 +256,8 @@ def execute(self, job: ExternalJob, result: JobResultBuilder, config: dict) -> J
255256
except HTTPStatusError as e:
256257
if e.response.status_code == 409:
257258
log_with_context(
258-
f"Item {item.id} already exists. To update this resource set process variable stac_update_items to true"
259+
f"Item {item.id} already exists. "
260+
+ "To update this resource set process variable stac_update_items to true"
259261
)
260262
except Exception as e:
261263
log_with_context(f"Error publishing item: {str(e)}", log_context)

0 commit comments

Comments
 (0)