From 5d966ccf3769b7a6da459228ddc529068ba579ff Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 12 Feb 2017 17:51:44 +0200 Subject: Log as we count files --- obnamlib/fmt_ga/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obnamlib/fmt_ga/client.py b/obnamlib/fmt_ga/client.py index ccf9a49c..013a26aa 100644 --- a/obnamlib/fmt_ga/client.py +++ b/obnamlib/fmt_ga/client.py @@ -408,6 +408,8 @@ class GAClient(object): n = 0 for filename in metadata: n += 1 + if (n % 1000) == 0: + dump('gen has at least {} files'.format(n)) union = union.union(set(metadata.get_file_chunk_ids(filename))) dump('after building union of sets') dump('gen has {} files'.format(n)) -- cgit v1.2.1