Skip to content

Commit

Permalink
nit: use not instead of is False
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Jan 17, 2024
1 parent 3f3146c commit 3e03007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arango_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def __initialize_collection(
:return: The collection.
:rtype: arango.collection.StandardCollection
"""
if self.preserve_existing is False:
if not self.preserve_existing:
m = f"Collection '{collection_name}' already exists, dropping and creating with new data." # noqa: E501
print(m)

Expand Down

0 comments on commit 3e03007

Please sign in to comment.