summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-06-11 20:38:25 +0300
committerLars Wirzenius <liw@liw.fi>2017-06-11 20:38:25 +0300
commit554b1e94557b11519841de68b10c3b6d0c29f339 (patch)
treed3d354420bcd5f9e43ea6f2e687ca16fdff70fd4
parent3975b223309c0f6a9f104e7e9efea87a93e9dcb9 (diff)
downloadobnam-554b1e94557b11519841de68b10c3b6d0c29f339.tar.gz
Fix: syntax
-rw-r--r--obnamlib/fmt_ga/indexes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/fmt_ga/indexes.py b/obnamlib/fmt_ga/indexes.py
index c143bf50..7214fdff 100644
--- a/obnamlib/fmt_ga/indexes.py
+++ b/obnamlib/fmt_ga/indexes.py
@@ -209,7 +209,7 @@ class GAChunkIndexes(object):
]
def is_chunk_used_by_anyone(self, chunk_id):
- return self._used_by_tree(chunk_id) != []
+ return self._used_by_tree.lookup(chunk_id) != []
def get_bags_containing_chunks(self, chunk_store, chunk_ids):
return set(