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

Re: change-svn-wc-format.py and python 3.x?

From: Edmund Wong <edmund_at_belfordhk.com>
Date: Tue, 31 Mar 2009 12:18:12 +0800

Ignacio Barrientos wrote:
> Hi everybody,
>
> is there a chance that this script will be written for python 3.x?
> At the moment I cannot run the script on 3.0.1, it says something about syntax error on Win XP.
>
> Line 92
> except UnrecognizedWCFormatException, e:
> ^

If you're using it locally, then I suppose it won't matter
if you change the script to reflect the v2.6-> v3.0 changes
for this particular instance.

Line 92:
    except (UnrecognizedWCFormatException as e):

That should work for 3.0, but I can't guarantee that
the whole script will work with 3.0. I only use 2.6.

Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1491113

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-31 14:11:46 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.