Package: viewcvs Version: 0.9.2+cvs.1.0.dev.2004.07.28-4.1 Severity: minor Tags: patch
When installing python2.5 I got the following warning: Linking and byte-compiling packages for runtime python2.5... INFO: using unsupported version '/usr/bin/python2.5' /var/lib/python-support/python2.5/PyFontify.py:33: Warning: 'with' will become a reserved keyword in Python 2.6 /var/lib/python-support/python2.5/PyFontify.py:34: Warning: 'with' will become a reserved keyword in Python 2.6 The file has moved in viewvc_1.0.3-2, to /usr/lib/viewvc/PyFontify.py, but the problem is still there. The following patch ought to work: -------------------------------------------------------------------------------- --- PyFontify.py.orig 2007-04-13 17:49:30.000000000 -0500 +++ PyFontify.py 2007-04-13 17:49:55.000000000 -0500 @@ -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 = "#.*" -------------------------------------------------------------------------------- -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (20, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.16 (PREEMPT) Locale: LANG=es_MX, LC_CTYPE=es_MX (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages viewcvs depends on: ii cvs 1:1.12.13-8 Concurrent Versions System ii debconf 1.5.13 Debian configuration management sy ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap ii python 2.4.4-2 An interactive high-level object-o ii python-support 0.6.3 automated rebuilding support for p ii rcs 5.7-18 The GNU Revision Control System ii subversion 1.4.2dfsg1-2 Advanced version control system Versions of packages viewcvs recommends: ii apache2-mpm-prefork [httpd] 2.2.3-4 Traditional model for Apache HTTPD pn enscript <none> (no description available) -- debconf information excluded -- Rodrigo Gallardo GPG-Fingerprint: 7C81 E60C 442E 8FBC D975 2F49 0199 8318 ADC9 BC28
signature.asc
Description: Digital signature