Commit 5e2d5df4 authored by Éric Araujo's avatar Éric Araujo

Improve Victor’s commit with cool new 2.5 idiom

parent 1e73a246
......@@ -1380,8 +1380,7 @@ class PyBuildExt(build_ext):
# End multiprocessing
# Platform-specific libraries
if any(platform.startswith(prefix)
for prefix in ("linux", "freebsd", "gnukfreebsd")):
if platform.startswith(('linux', 'freebsd', 'gnukfreebsd')):
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
else:
missing.append('ossaudiodev')
......
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