From 5d3ce061d24a5188fc015012b2f70a4c6f568969 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 22 Jun 2020 13:43:54 -0700 Subject: remove un-necessary list() in iteration --- chocula/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chocula/database.py b/chocula/database.py index e27d17d..f620515 100644 --- a/chocula/database.py +++ b/chocula/database.py @@ -399,7 +399,7 @@ class ChoculaDatabase(): fatcat_issnls = list(cur.execute('SELECT DISTINCT issnl FROM fatcat_container WHERE issnl IS NOT null')) all_issnls = set([i[0] for i in index_issnls + fatcat_issnls]) print("{} total ISSN-Ls".format(len(all_issnls))) - for issnl in list(all_issnls): + for issnl in all_issnls: #print(issnl) counts['total'] += 1 -- cgit v1.2.3