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

getversion.py invalid syntax

From: Brad Lemings <brad_at_rebit.com>
Date: Thu, 22 Mar 2012 09:14:30 -0700

Hello all,

I get the following error with Python 2.x, 3.1.x, and 3.2.x:

T:\src\subversion-1.7.4>win-tests.py
Traceback (most recent call last):
  File "T:\src\subversion-1.7.4\win-tests.py", line 109, in <module>
    import gen_win
  File "build\generator\gen_win.py", line 38, in <module>
    import generator.swig.header_wrappers
  File "build\generator\swig\__init__.py", line 29, in <module>
    from generator.gen_base import _collect_paths
  File "build\generator\gen_base.py", line 39, in <module>
    import getversion
  File "build\getversion.py", line 67
    except IOError, e:
                  ^
SyntaxError: invalid syntax

T:\src\subversion-1.7.4>python --version
Python 2.7.2

T:\src\subversion-1.7.4>python --version
Python 3.1.4

T:\src\subversion-1.7.4>python --version
Python 3.2.2

Is this a known bug?

Thanks.
Received on 2012-03-22 17:15:03 CET

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.