From 3e030076979089ba04c5a39007282c4fa6e21cf9 Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Wed, 17 Jan 2024 15:07:06 -0500 Subject: [PATCH] nit: use `not` instead of `is False` --- arango_datasets/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arango_datasets/datasets.py b/arango_datasets/datasets.py index df40fb0..8879e49 100644 --- a/arango_datasets/datasets.py +++ b/arango_datasets/datasets.py @@ -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)