From 98746fe34571f61b83b1020775db8f73f8e6b8ba Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 5 Nov 2020 22:35:56 +0100 Subject: drop unused name --- fuzzycat/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3