From f9788793d0b0d384eef3725b13ab3134c1cc46c0 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sat, 4 Mar 2017 19:13:53 +0100 Subject: pep8 cleanup --- lesana/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesana/collection.py b/lesana/collection.py index a4b9c63..1f488bc 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -295,7 +295,7 @@ class Collection(object): ) for uid in uids: entry = self.entry_from_uid(uid) - if not entry is None: + if entry is not None: cache.delete_document(entry.idterm) os.remove(os.path.join(self.itemdir, entry.fname)) else: -- cgit v1.2.3