We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fbf47 commit 57b9408Copy full SHA for 57b9408
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 93fc804b85b856aa84455cdcee5f4ae51b51a25a
+refs/heads/master: e4f9ce8cbf9d5a110afb7274c393abb333e01a2b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: b3317d68910900f135f9f38e43a7a699bc736b4a
5
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf
trunk/src/etc/check-sanitycheck.py
@@ -29,7 +29,7 @@ def only_on(platforms):
29
def decorator(func):
30
@functools.wraps(func)
31
def inner():
32
- if sys.platform in platforms:
+ if any(map(lambda x: sys.platform.startswith(x), platforms)):
33
func()
34
return inner
35
return decorator
0 commit comments