Skip to content

Commit 7a44a8e

Browse files
committed
simplify exclude black lists
1 parent 13322c5 commit 7a44a8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/image/make_baseline.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
HAD = [item in allNames for item in LAST]
5858

59-
allNames = [a for a in allNames if all(b not in a for b in LAST)]
59+
allNames = [a for a in allNames if a not in LAST]
6060

6161
allNames += [item for item, had_item in zip(LAST, HAD) if had_item]
6262

@@ -65,7 +65,7 @@
6565
'mapbox_density0-legend',
6666
'mapbox_osm-style'
6767
]
68-
allNames = [a for a in allNames if all(b not in a for b in blacklist)]
68+
allNames = [a for a in allNames if a not in blacklist]
6969

7070
if len(allNames) == 0 :
7171
print('error: Nothing to create!')

0 commit comments

Comments
 (0)