summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-02-12 18:47:28 +0200
committerLars Wirzenius <liw@liw.fi>2017-02-12 18:47:28 +0200
commit18e894072fba0541a45aa2fb20ae4562c101bc89 (patch)
tree5f40e47ff456e0d1e299f334f4bbd09f4f7a7c08
parent2c734daf6b4a252b2ba0adffa08fef7e1c23830e (diff)
downloadobnam-18e894072fba0541a45aa2fb20ae4562c101bc89.tar.gz
Log length of remaining chunks to remove
-rw-r--r--obnamlib/fmt_ga/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/client.py b/obnamlib/fmt_ga/client.py
index 370ca98d..b2d5cdbe 100644
--- a/obnamlib/fmt_ga/client.py
+++ b/obnamlib/fmt_ga/client.py
@@ -17,6 +17,7 @@
import copy
+import logging
import os
import stat
@@ -236,6 +237,8 @@ class GAClient(object):
for chunk_id in self._generate_chunk_ids_in_generations(remaining):
if chunk_id in chunks_to_remove:
chunks_to_remove.remove(chunk_id)
+ logging.debug('len(chunks_to_remove) = {}'.format(
+ len(chunks_to_remove)))
dumper.dump_memory_profile('after computing chunk uniq to removed gen')
self._generations.set_generations(remaining)