aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/build.py4
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)