aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-05 22:35:56 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-05 22:36:04 +0100
commit98746fe34571f61b83b1020775db8f73f8e6b8ba (patch)
tree197fbe200bd3d2880b53f757d8c62383d83ee0bb
parent4671d7cabfc5b1503a0924de57258cf1337515aa (diff)
downloadfuzzycat-98746fe34571f61b83b1020775db8f73f8e6b8ba.tar.gz
fuzzycat-98746fe34571f61b83b1020775db8f73f8e6b8ba.zip
drop unused name
-rw-r--r--fuzzycat/cluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py
index 0db3eae..150e18e 100644
--- a/fuzzycat/cluster.py
+++ b/fuzzycat/cluster.py
@@ -151,7 +151,7 @@ class Cluster:
try:
id, key = keyfunc(json.loads(line))
print("{}\t{}".format(id, key), file=tf)
- except (KeyError, ValueError) as exc:
+ except (KeyError, ValueError):
counter["key_extraction_failed"] += 1
else:
counter["key_ok"] += 1