[ovs-dev] [PATCH] tests: Use compat argparse when required.

Ben Pfaff blp at nicira.com
Tue Sep 27 22:53:45 UTC 2011


On Tue, Sep 27, 2011 at 03:49:43PM -0700, Ethan Jackson wrote:
> Not a good shell programmer =)
> 
> > Similarly, [ 'python -m argparse' ] will always be true, because the
> > string is nonempty.
> 
> Turns out python -m argparse prints nothing if argparse is installed
> on the system which is why this worked in my testing. [...]

[ 'python -m argparse' ] doesn't invoke python at all.  You need to
s/'/`/g for that.



More information about the dev mailing list