[Python-modules-commits] r13976 - in packages/python-feedvalidator/trunk/debian (2 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sun Jul 18 08:47:18 UTC 2010


    Date: Sunday, July 18, 2010 @ 08:47:13
  Author: jwilk
Revision: 13976

Upstream support for multiple languages is broken. Always use ?\226?\128?\156en?\226?\128?\157 as language (closes: #588983).

Added:
  packages/python-feedvalidator/trunk/debian/patches/disable-i18n.patch
Modified:
  packages/python-feedvalidator/trunk/debian/changelog

Modified: packages/python-feedvalidator/trunk/debian/changelog
===================================================================
--- packages/python-feedvalidator/trunk/debian/changelog	2010-07-17 18:25:36 UTC (rev 13975)
+++ packages/python-feedvalidator/trunk/debian/changelog	2010-07-18 08:47:13 UTC (rev 13976)
@@ -1,10 +1,17 @@
 python-feedvalidator (0~svn1022-2) UNRELEASED; urgency=low
 
+  * Team upload.
+
+  [ Noah Slater ]
   * Updated debian/control, updated Vcs-Browser.
   * Updated debian/control, updated Build-Depends on debhelper to 7.2.11.
 
- -- Noah Slater <nslater at tumbolia.org>  Thu, 14 May 2009 17:03:42 +0100
+  [ Jakub Wilk ]
+  * Upstream support for multiple languages is broken. Always use “en” as
+    language (closes: #588983).
 
+ -- Jakub Wilk <jwilk at debian.org>  Sat, 17 Jul 2010 13:30:24 +0200
+
 python-feedvalidator (0~svn1022-1) unstable; urgency=low
 
   * Initial release. Closes: #495940

Added: packages/python-feedvalidator/trunk/debian/patches/disable-i18n.patch
===================================================================
--- packages/python-feedvalidator/trunk/debian/patches/disable-i18n.patch	                        (rev 0)
+++ packages/python-feedvalidator/trunk/debian/patches/disable-i18n.patch	2010-07-18 08:47:13 UTC (rev 13976)
@@ -0,0 +1,18 @@
+Description: Upstream support for multiple languages is broken. Always use "en"
+  as language.
+Bug: http://code.google.com/p/feedvalidator/issues/detail?id=10
+Bug-Debian: http://bugs.debian.org/588983
+Forwarded: not-needed
+
+--- a/feedvalidator/formatter/base.py
++++ b/feedvalidator/formatter/base.py
+@@ -8,7 +8,8 @@
+ 
+ from UserList import UserList
+ import os
+-LANGUAGE = os.environ.get('LANGUAGE', 'en')
++# FIXME: upstream support for i18n is broken; hardcode "en"
++LANGUGE = 'en'
+ lang = __import__('feedvalidator.i18n.%s' % LANGUAGE, globals(), locals(), LANGUAGE)
+ 
+ from feedvalidator.logging import Info, Warning, Error




More information about the Python-modules-commits mailing list