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

RE: RE: Re: Bug: log-police.py and python 3.0rc1

From: <Paul_Koning_at_Dell.com>
Date: Thu, 2 Oct 2008 09:40:12 -0500

Slip of the fingers -- I meant:
 
        exec("True=1")

(lose the single quote.)

        paul

> With python 3.0rc1, the log-police.py script says this:
>
>
> File "/opt/local/share/subversion/tools/hook-scripts/log-police.py",
> line 24
> True = 1
> SyntaxError: assignment to keyword
>
>
> It works fine with python 2.5.2.

Try using 'exec("True=1").

        paul
Received on 2008-10-02 16:41:38 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.