Skip to content

Commit e84261b

Browse files
committed
mirrors: remedy B905, call zip() with strict=
1 parent d718b33 commit e84261b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mirrors/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def dictfetchall(cursor):
1616
"Returns all rows from a cursor as a dict."
1717
desc = cursor.description
1818
return [
19-
dict(zip([col[0] for col in desc], row))
19+
dict(zip([col[0] for col in desc], row, strict=True))
2020
for row in cursor.fetchall()
2121
]
2222

0 commit comments

Comments
 (0)