summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-02-12 19:03:30 +0200
committerLars Wirzenius <liw@liw.fi>2017-02-12 19:03:30 +0200
commita906a2db457b92ff1b0b0460d015e8fca2fc0abd (patch)
tree2499a2b446295773f7911b897225fd15b98cd169
parent41c39281169304425323e5e545cd79c80086522e (diff)
downloadobnam-a906a2db457b92ff1b0b0460d015e8fca2fc0abd.tar.gz
Simplify logging call
-rw-r--r--obnamlib/fmt_ga/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obnamlib/fmt_ga/client.py b/obnamlib/fmt_ga/client.py
index e6ccaa3b..ef5fdaaa 100644
--- a/obnamlib/fmt_ga/client.py
+++ b/obnamlib/fmt_ga/client.py
@@ -237,8 +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)))
+ logging.debug(
+ 'len(chunks_to_remove) = %s', len(chunks_to_remove))
dumper.dump_memory_profile('after computing chunk uniq to removed gen')
self._generations.set_generations(remaining)