Skip to content

Commit

Permalink
Fix for linting
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
  • Loading branch information
awdavidson and kevinjqliu authored Sep 24, 2024
1 parent 7a64498 commit a9d6ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiceberg/catalog/hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _create_hive_client(properties: Dict[str, str]) -> _HiveClient:
return _HiveClient(uri, properties.get("ugi"))
except BaseException as e:
last_exception = e
if last_exception not None:
if last_exception is not None:
raise e
else:
raise ValueError(f"Unable to connect to hive using uri: {properties["uri"]}")
Expand Down

0 comments on commit a9d6ab6

Please sign in to comment.