diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-11-07 01:08:18 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-11-07 01:08:18 +0100 |
commit | 753f64870c06b6cdc7015039f0198ac8ae041296 (patch) | |
tree | 7270ea1f16a6e8f21690aae487297fc5774d4df0 | |
parent | 3963772ae9401395eb17fca16de9a27fe7bf6681 (diff) | |
download | fuzzycat-753f64870c06b6cdc7015039f0198ac8ae041296.tar.gz fuzzycat-753f64870c06b6cdc7015039f0198ac8ae041296.zip |
remove progress indicator
-rw-r--r-- | fuzzycat/build.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fuzzycat/build.py b/fuzzycat/build.py index ee128c8..df38fec 100644 --- a/fuzzycat/build.py +++ b/fuzzycat/build.py @@ -90,9 +90,7 @@ class NgramLookup: def run(self): fast_fields = operator.itemgetter("ident", "title") - for i, line in enumerate(fileinput.input(files=self.files)): - if i % 10000 == 0: - print("@{}".format(i), file=sys.stderr) + for line in fileinput.input(files=self.files): try: doc = json.loads(line) id, title = fast_fields(doc) |