1
0
Fork 0

Remove unnecessary use of a comprehension

Reported by pylint 2.4.4 (unnecessary-comprehension)
This commit is contained in:
Patryk Obara 2019-11-14 18:43:05 +01:00 committed by Patryk Obara
parent 3b0a62ad4c
commit 6de2e6bd41

View file

@ -41,7 +41,7 @@ def read_soup(index_html):
soup = BeautifulSoup(index, 'html5lib')
tables = soup.find_all('table')
summary = tables[1]
return {bug: count for bug, count in summary_values(summary)}
return dict(summary_values(summary))
def find_longest_name_length(names):