Commit bd3c09c0 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-08-01 13:51:23 by simonmar]

Add canned only_ways() opt-fn.
parent e2a98a16
......@@ -193,6 +193,14 @@ def _omit_ways( opts, ways ):
# -----
def only_ways( ways ):
return lambda opts, w=ways: _only_ways( opts, w )
def _only_ways( opts, ways ):
opts.only_ways = ways
# -----
def expect_fail_if_platform( plat ):
return lambda opts, p=plat: _expect_fail_if_platform(opts, p)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment