Package: python2.5
Version: 2.5.2-15
Severity: normal
Tags: patch

calendar.HTMLCalendar().formatyearpage(year) produces a HTML page with a
broken title tag. It can easily be fixed using the following patch
(which has already been applied upstream):

---snip---
--- /usr/lib/python2.5/calendar.py      2009-01-05 04:24:22.000000000 +0100
+++ calendar.py 2009-01-28 10:03:08.000000000 +0100
@@ -473,7 +473,7 @@
         a('<meta http-equiv="Content-Type" content="text/html; charset=%s" 
/>\n' % encoding)
         if css is not None:
             a('<link rel="stylesheet" type="text/css" href="%s" />\n' % css)
-        a('<title>Calendar for %d</title\n' % theyear)
+        a('<title>Calendar for %d</title>\n' % theyear)
         a('</head>\n')
         a('<body>\n')
         a(self.formatyear(theyear, width))
---snap---

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-1        high-quality block-sorting file co
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libdb4.5                  4.5.20-13      Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  libsqlite3-0              3.5.9-6        SQLite 3 shared library
ii  libssl0.9.8               0.9.8g-15      SSL shared libraries
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.2-15       A minimal subset of the Python lan

python2.5 recommends no packages.

Versions of packages python2.5 suggests:
pn  python-profiler               <none>     (no description available)
pn  python2.5-doc                 <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to