Re: getversion.py invalid syntax

2012-03-22 Thread Daniel Shahaf
No, it's not a known bug. We require 2.5 or newer, so we'll be happy to accept patches here as long as they don't break compat with those older versions. Daniel (I'm assuming there are other except: statements affected by this) Brad Lemings wrote on Thu, Mar 22, 2012 at 09:14:30 -0700: Hello

RE: getversion.py invalid syntax

2012-03-22 Thread Brad Lemings
...@elego.de] Sent: Thursday, March 22, 2012 11:10 AM To: Brad Lemings Cc: users@subversion.apache.org Subject: Re: getversion.py invalid syntax No, it's not a known bug. We require 2.5 or newer, so we'll be happy to accept patches here as long as they don't break compat with those older versions

Re: getversion.py invalid syntax

2012-03-22 Thread Brian Neal
The syntax except IOError, e: is perfectly valid in Python 2.7. Are you sure you are getting that particular error under 2.7? You'd have to change it to this for Python 3.x: except IOError as e: But that would not be backwards compatible with 2.x. Using a tool like 2to3.py may help produce a