swc-installation-test-2.py: Convert .version_option to .version_options
authorW. Trevor King <wking@tremily.us>
Tue, 1 Jan 2013 14:13:18 +0000 (09:13 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 1 Jan 2013 14:49:49 +0000 (09:49 -0500)
commit6fef5fa4db6a01bc398a6768b94a266da47cbdef
tree285df7025ad37757ff4992e1d0864363a7127eb7
parent31cf4bd00fe00066ac4a49ddccb947f916013b97
swc-installation-test-2.py: Convert .version_option to .version_options

I'm about to implement a version check for 'make' where a single
option doesn't cut it.  For version of Python before 3.3,
shlex.quote() doesn't exist [1], so use pipes.quote() instead [2].

[1]: http://docs.python.org/3/library/shlex.html#shlex.quote
[2]: http://bugs.python.org/issue9723
swc-installation-test-2.py