diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-02-12 17:51:44 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-02-12 17:51:44 +0200 |
commit | 5d966ccf3769b7a6da459228ddc529068ba579ff (patch) | |
tree | 267f1611a3581730a0ba9998ae25c1415366442e | |
parent | fe0fecf3c5a741be7aca40b9c5806c6e41cfcc9c (diff) | |
download | obnam-5d966ccf3769b7a6da459228ddc529068ba579ff.tar.gz |
Log as we count files
-rw-r--r-- | obnamlib/fmt_ga/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |