[evolvis-commits] r6738: make Python 2.6 safe (Debian #582012) ↵

mirabilos at evolvis.org mirabilos at evolvis.org
Fri Jun 18 16:21:22 CEST 2010


Author: mirabilos
Date: 2010-06-18 16:21:21 +0200 (Fri, 18 Jun 2010)
New Revision: 6738

Modified:
   trunk/gforge_base/evolvisforge/gforge/www/scm/viewvc/lib/PyFontify.py
Log:
make Python 2.6 safe (Debian #582012)


Modified: trunk/gforge_base/evolvisforge/gforge/www/scm/viewvc/lib/PyFontify.py
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/scm/viewvc/lib/PyFontify.py	2010-06-18 14:21:19 UTC (rev 6737)
+++ trunk/gforge_base/evolvisforge/gforge/www/scm/viewvc/lib/PyFontify.py	2010-06-18 14:21:21 UTC (rev 6738)
@@ -52,8 +52,8 @@
                 ]
 
 # First a little helper, since I don't like to repeat things. (Tismer speaking)
-def replace(where, what, with):
-    return string.join(string.split(where, what), with)
+def replace(where, what, withwhat):
+    return string.join(string.split(where, what), withwhat)
 
 # A regexp for matching Python comments.
 commentPat = "#.*"



More information about the evolvis-commits mailing list