r23335 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23334‎ | r23335 | r23336 >
Date:20:07, 24 June 2007
Author:mark
Status:old
Tags:
Comment:
Add forgotten file
Modified paths:
  • /trunk/debs/mailman/debian/patches/90_i18n_valueerror.dpatch (added) (history)

Diff [purge]

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 + *

Status & tagging log