summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-03-04 19:13:53 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-03-04 19:13:53 +0100
commitf9788793d0b0d384eef3725b13ab3134c1cc46c0 (patch)
treec1f22eaaac34ddcf7a25c07ee6542f9167f3e44e
parent2e1e99bdb18368de7cb30623c4381baa076f4307 (diff)
pep8 cleanup
-rw-r--r--lesana/collection.py2
1 files changed, 1 insertions, 1 deletions
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: