[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5295 - trunk/subversion/tests/clients/cmdline

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-12 22:53:36 CET

On Wed, Mar 12, 2003 at 01:52:39PM -0600, brane@tigris.org wrote:
>...
> Stuff added by me: Refactor the prop value tests into check_prop, a nested
> function within prop_value_conversions.

Watch your Python 2.0 compat :-)

>...
> +++ trunk/subversion/tests/clients/cmdline/prop_tests.py Wed Mar 12 13:52:34 2003
>...
> + class PropError:
> + pass

This error is not global, so it is not available to the code in the nested
functions. Just make the thing global. Name it _PropError if you'd prefer.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 12 22:52:09 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.