Skip to content

Commit

Permalink
fix print statement (#15)
Browse files Browse the repository at this point in the history
* fix print statement

* nit: use `not` instead of `is False`
  • Loading branch information
aMahanna committed Jan 19, 2024
1 parent 51b5d6c commit 2b8febe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arango_datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ def __initialize_collection(
:return: The collection.
:rtype: arango.collection.StandardCollection
"""
if self.preserve_existing is False:
m = f"Collection '{collection_name}' already exists, dropping and creating with new data." # noqa: E501
print(m)
print(f"Initializing collection '{collection_name}'")

if not self.preserve_existing:
self.user_db.delete_collection(collection_name, ignore_missing=True)

return self.user_db.create_collection(collection_name, edge=is_edge)
Expand Down

0 comments on commit 2b8febe

Please sign in to comment.