Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Mar 7, 2024
1 parent 209f153 commit 511ea74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dcoraid/api/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def resource_add(dataset_id, path, api, resource_name=None,
)

# If we are here, then the upload was successful
logger.info(f"Finished upload {dataset_id}/{resource_name}")
logger.info(f"Finished upload of {dataset_id}/{resource_name}")

if resource_dict:
pkg_dict = api.get("package_show", id=dataset_id)
Expand Down Expand Up @@ -330,7 +330,7 @@ def resource_add_upload_direct_s3(
)

if hrep.status_code != 204:
raise ValueError(f"Upload {upload_id} failed with "
raise ValueError(f"Upload of {upload_id} failed with "
f"{hrep.status_code}: {hrep.reason}")

# The upload succeeded, now add the resource to the CKAN database.
Expand Down

0 comments on commit 511ea74

Please sign in to comment.