subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pet...@apache.org
Subject svn commit: r1350084 - /subversion/trunk/contrib/server-side/fsfsverify.py
Date Thu, 14 Jun 2012 04:36:54 GMT
Author: peters
Date: Thu Jun 14 04:36:54 2012
New Revision: 1350084

URL: http://svn.apache.org/viewvc?rev=1350084&view=rev
Log:
* contrib/server-side/fsfsverify.py
  (RegexpStrategy.fixStream): Throw an Exception, not a string,
   to appease Python 2.6.

Found by: Jakub Wilk <jwilk@debian.org>

Modified:
    subversion/trunk/contrib/server-side/fsfsverify.py

Modified: subversion/trunk/contrib/server-side/fsfsverify.py
URL: http://svn.apache.org/viewvc/subversion/trunk/contrib/server-side/fsfsverify.py?rev=1350084&r1=1350083&r2=1350084&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsverify.py (original)
+++ subversion/trunk/contrib/server-side/fsfsverify.py Thu Jun 14 04:36:54 2012
@@ -1043,7 +1043,7 @@ def fixStream(e, revFile):
       break
 
   if not m:
-    raise "Couldn't find end of rep!"
+    raise Exception("Couldn't find end of rep!")
 
   finalOffset = errorOffset + srcLength
   srcOffset = errorOffset



Mime
View raw message