r23614 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23613‎ | r23614 | r23615 >
Date:19:24, 1 July 2007
Author:mark
Status:old
Tags:
Comment:
mailman (1:2.1.9-4ubuntu1wm2) feisty; urgency=medium

* Readd dirty fix for ValueError crash in i18n
Modified paths:
  • /trunk/debs/mailman/debian/changelog (modified) (history)
  • /trunk/debs/mailman/debian/patches/90_i18n_valueerror.dpatch (added) (history)
  • /trunk/debs/mailman/debian/patches/series (modified) (history)

Diff [purge]

Index: trunk/debs/mailman/debian/patches/series
@@ -34,3 +34,4 @@
3535 indexing-2.1.9-0.1.patch -p1
3636 htdig-2.1.9-0.1.patch
3737 htdig_cron.patch -p1
 38+90_i18n_valueerror.dpatch
Index: trunk/debs/mailman/debian/patches/90_i18n_valueerror.dpatch
@@ -0,0 +1,23 @@
 2+#! /bin/sh /usr/share/dpatch/dpatch-run
 3+## 90_i18n_valueerror.dpatch by <mark@hawthorn.knams.wikimedia.org>
 4+##
 5+## All lines beginning with `## DP:' are a description of the patch.
 6+## DP: No description.
 7+
 8+@DPATCH@
 9+diff -urNad mailman-2.1.8~/Mailman/i18n.py mailman-2.1.8/Mailman/i18n.py
 10+--- mailman-2.1.8~/Mailman/i18n.py 2006-02-23 06:25:29.000000000 +0000
 11+@@ -87,8 +87,10 @@
 12+ for k, v in dict.items():
 13+ if isinstance(v, UnicodeType):
 14+ dict[k] = v.encode(charset, 'replace')
 15+- return tns % dict
 16+-
 17++ try:
 18++ return tns % dict
 19++ except ValueError:
 20++ return tns
 21+
 22+
 23+ def ctime(date):
Property changes on: trunk/debs/mailman/debian/patches/90_i18n_valueerror.dpatch
___________________________________________________________________
Added: svn:executable
124 + *
Index: trunk/debs/mailman/debian/changelog
@@ -1,3 +1,9 @@
 2+mailman (1:2.1.9-4ubuntu1wm2) feisty; urgency=medium
 3+
 4+ * Readd dirty fix for ValueError crash in i18n
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Sun, 1 Jul 2007 19:16:49 +0000
 7+
28 mailman (1:2.1.9-4ubuntu1wm1) feisty; urgency=low
39
410 * Resync with Ubuntu

Status & tagging log