Skip to content

Commit a9771cf

Browse files
authored
fix flake8
1 parent 546df7d commit a9771cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_esp32part.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def verify(self):
285285

286286
# check on duplicate name
287287
names = [p.name for p in self]
288-
duplicates = set(n for n in names if names.count(n) > 1)
288+
duplicates = {n for n in names if names.count(n) > 1}
289289

290290
# print sorted duplicate partitions by name
291291
if len(duplicates) != 0:

0 commit comments

Comments
 (0)