aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-02-11 13:57:29 +0100
committerMartin Czygan <martin.czygan@gmail.com>2021-02-11 13:57:29 +0100
commit7c2b7f5586797363a03e991149ae444845b28185 (patch)
treeb30278880d9e82678591cc09d1342a1651f8bf27
parentcac2bc677fb7dfca9230ec4cee343b983e31fc96 (diff)
downloadfuzzycat-7c2b7f5586797363a03e991149ae444845b28185.tar.gz
fuzzycat-7c2b7f5586797363a03e991149ae444845b28185.zip
fix name
-rw-r--r--fuzzycat/refs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fuzzycat/refs.py b/fuzzycat/refs.py
index 689d800..3f6b2ed 100644
--- a/fuzzycat/refs.py
+++ b/fuzzycat/refs.py
@@ -59,9 +59,9 @@ class RefsGroupVerifier:
k, vs = get_key_values(doc)
pivot = find_release_entity(vs)
for entity in ref_entities(vs):
- result, reason = verify(a, b)
+ result, reason = verify(pivot, entity)
self.counter[reason] += 1
- print("https://fatcat.wiki/release/{}".format(a["ident"]),
- "https://fatcat.wiki/release/{}".format(b["ident"]), result, reason)
+ print("https://fatcat.wiki/release/{}".format(pivot["ident"]),
+ "https://fatcat.wiki/release/{}".format(entity["ident"]), result, reason)
self.counter["total"] = sum(v for _, v in self.counter.items())