[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 3461 - trunk/tools/hook-scripts

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-10-23 21:03:43 CEST

On Wed, Oct 23, 2002 at 10:06:11AM -0500, niemeyer@tigris.org wrote:
>...
> +++ trunk/tools/hook-scripts/svnperms.py Wed Oct 23 10:06:10 2002
>...
> + # print "cdata=%s cprop=%s path=%s perms=%s" % \
> + # (str(changedata), str(changeprop), path, str(pathperms))

There is no reason to use str() in the tuple values. The %s format code does
that automatically. You can pass any object to a %s formatter as a result.

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 Oct 23 21:03:44 2002

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.