Skip to content

Commit

Permalink
chore: Remove error class aliases
Browse files Browse the repository at this point in the history
They aren't really useful.
  • Loading branch information
l0b0 committed Nov 24, 2024
1 parent 1563df7 commit dc4d527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/files/fs_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def exists(path: str, needs_credentials: bool = False) -> bool:
needs_credentials: if acces to object needs credentials. Defaults to False.
Raises:
ce: s3_client.exceptions.ClientError
nsb: NoSuchBucket
s3_client.exceptions.ClientError
NoSuchBucket
Returns:
True if the S3 Object exists
Expand Down
2 changes: 1 addition & 1 deletion scripts/gdal/gdal_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def run_gdal(
output_file: the output file path
Raises:
cpe: CalledProcessError is raised if something goes wrong during the execution of the command
CalledProcessError is raised if something goes wrong during the execution of the command
Returns:
subprocess.CompletedProcess: the output process.
Expand Down

0 comments on commit dc4d527

Please sign in to comment.