Re: svn commit: rev 5005 - trunk/subversion/tests/clients/cmdline/svntest
From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-22 05:52:59 CET
On Sat, Feb 22, 2003 at 05:29:40AM +0100, Branko Cibej wrote:
This line:
+ print ('PASS: ', 'FAIL: ')[ex.code != 0],
eek! :-)
Actually, there has been some discussion of adding a ternary operator to
Note the Python Fu Master way to write the above:
print ex.code and 'FAIL' or 'PASS'
hehe :-)
But yah... your changes are great. Thanks!
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Feb 22 05:48:41 2003 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.