Remove unnecessary use of a comprehension
Reported by pylint 2.4.4 (unnecessary-comprehension)
This commit is contained in:
parent
3b0a62ad4c
commit
6de2e6bd41
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue