Skip to content

Commit f57be5c

Browse files
authored
Coerce tags to set before comparison with tier tag set (#766)
1 parent abbb2b5 commit f57be5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

master/custom/builders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def stability(self):
108108

109109
def get_tier_from_tags(tags):
110110
# Get the first (highest) of the tier flags
111-
tags = sorted(tags & {TIER_1, TIER_2, TIER_3})
111+
tags = sorted(set(tags) & {TIER_1, TIER_2, TIER_3})
112112
if tags:
113113
return tags[0]
114114
return NO_TIER

0 commit comments

Comments
 (0)