From a906a2db457b92ff1b0b0460d015e8fca2fc0abd Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 12 Feb 2017 19:03:30 +0200 Subject: Simplify logging call --- obnamlib/fmt_ga/client.py | 4 ++-- 1 file 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) -- cgit v1.2.1