aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-01-29 22:53:16 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-01-29 22:53:16 +0100
commita981850bb221735bc0bcb750791228c9f8198143 (patch)
tree02dd6b09d6fae1a7ad9a582ae89305aa1e0b9414
parent381ce71902e176f8f0d76f8330e74c871cbd46b3 (diff)
style
-rw-r--r--lesana/collection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lesana/collection.py b/lesana/collection.py
index 92ffcbb..78b3e95 100644
--- a/lesana/collection.py
+++ b/lesana/collection.py
@@ -274,7 +274,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: