You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rd...@apache.org on 2010/08/02 17:36:51 UTC
svn commit: r981564 -
/subversion/trunk/subversion/bindings/swig/python/tests/core.py
Author: rdonch
Date: Mon Aug 2 15:36:51 2010
New Revision: 981564
URL: http://svn.apache.org/viewvc?rev=981564&view=rev
Log:
* subversion/bindings/swig/python/tests/core.py:
(SubversionCoreTestCase.test_exception_interoperability): Use the old-style
try statement syntax for Python 2.4 compatibility.
Modified:
subversion/trunk/subversion/bindings/swig/python/tests/core.py
Modified: subversion/trunk/subversion/bindings/swig/python/tests/core.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/core.py?rev=981564&r1=981563&r2=981564&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/core.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/core.py Mon Aug 2 15:36:51 2010
@@ -80,7 +80,7 @@ class SubversionCoreTestCase(unittest.Te
# It must remain unchanged through the process.
try:
svn.client.info2(*args)
- except svn.core.SubversionException as exc:
+ except svn.core.SubversionException, exc:
# find the original exception
while exc.file != rec.e.file: exc = exc.child