Skip to content

Commit

Permalink
random whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fvankrieken committed Jan 3, 2025
1 parent 34f1b56 commit 8ef3894
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dcpy/connectors/socrata/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ def push_shp(
.shapefile(shp_zip)
.wait_for_finish()
)

error_details: dict | None = push_resp.attributes["failure_details"]
if error_details:
logger.error(f"Shapefile upload failed with {error_details}")
Expand Down Expand Up @@ -631,7 +630,6 @@ def push_dataset(
dest_filename=overridden_dataset_md.file.filename
or package_dataset_file_path.name,
)

elif dataset_file.type == "csv":
data_source = rev.push_csv(package_dataset_file_path)
elif dataset_file.type == "shapefile":
Expand Down

0 comments on commit 8ef3894

Please sign in to comment.