Skip to content

Commit 2b8febe

Browse files
authored
fix print statement (#15)
* fix print statement * nit: use `not` instead of `is False`
1 parent 51b5d6c commit 2b8febe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arango_datasets/datasets.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ def __initialize_collection(
157157
:return: The collection.
158158
:rtype: arango.collection.StandardCollection
159159
"""
160-
if self.preserve_existing is False:
161-
m = f"Collection '{collection_name}' already exists, dropping and creating with new data." # noqa: E501
162-
print(m)
160+
print(f"Initializing collection '{collection_name}'")
163161

162+
if not self.preserve_existing:
164163
self.user_db.delete_collection(collection_name, ignore_missing=True)
165164

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

0 commit comments

Comments
 (0)