need to list-ify OS matches
This commit is contained in:
1 parent
0da47858fa
commit
8af45e2f21
1 file changed
+2
-2
@@ -69,8 +69,8 @@ def is_os_compatible(compatibility_entries, current_os=None):
|
||||
if current_os is None:
|
||||
current_os = get_os()
|
||||
|
||||
negative_entries = map(lambda x: x[1:], filter(lambda x: x.startswith("!"), compatibility_entries))
|
||||
positive_entries = filter(lambda x: not x.startswith("!"), compatibility_entries)
|
||||
negative_entries = list(map(lambda x: x[1:], filter(lambda x: x.startswith("!"), compatibility_entries)))
|
||||
positive_entries = list(filter(lambda x: not x.startswith("!"), compatibility_entries))
|
||||
|
||||
negative_match = False
|
||||
if negative_entries:
|
||||
|
||||
Reference in new issue
Block a user