[Python-apps-commits] r2449 - in packages/phatch/trunk/debian (3 files)

pochu-guest at users.alioth.debian.org pochu-guest at users.alioth.debian.org
Fri Feb 20 19:14:49 UTC 2009


    Date: Friday, February 20, 2009 @ 19:14:48
  Author: pochu-guest
Revision: 2449

* debian/patches/phatch_use_correct_lang.patch:
  - Use LANG instead of LC_CTYPE for the language. Closes: 507774.

Added:
  packages/phatch/trunk/debian/patches/
  packages/phatch/trunk/debian/patches/phatch_use_correct_lang.patch
Modified:
  packages/phatch/trunk/debian/changelog

Modified: packages/phatch/trunk/debian/changelog
===================================================================
--- packages/phatch/trunk/debian/changelog	2009-02-20 14:04:54 UTC (rev 2448)
+++ packages/phatch/trunk/debian/changelog	2009-02-20 19:14:48 UTC (rev 2449)
@@ -1,3 +1,10 @@
+phatch (0.1.6-2) UNRELEASED; urgency=low
+
+  * debian/patches/phatch_use_correct_lang.patch:
+    - Use LANG instead of LC_CTYPE for the language. Closes: 507774.
+
+ -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Fri, 05 Dec 2008 11:17:43 +0100
+
 phatch (0.1.6-1) unstable; urgency=low
 
   [ Stani M ]

Added: packages/phatch/trunk/debian/patches/phatch_use_correct_lang.patch
===================================================================
--- packages/phatch/trunk/debian/patches/phatch_use_correct_lang.patch	                        (rev 0)
+++ packages/phatch/trunk/debian/patches/phatch_use_correct_lang.patch	2009-02-20 19:14:48 UTC (rev 2449)
@@ -0,0 +1,13 @@
+=== modified file 'phatch/core/config.py'
+--- phatch/core/config.py	2008-04-05 21:40:10 +0000
++++ phatch/core/config.py	2008-12-05 10:15:40 +0000
+@@ -68,7 +68,7 @@
+     locale.setlocale(locale.LC_ALL, '')
+     #get default canonical if necessary
+     if canonical == 'default':
+-        canonical  = locale.getdefaultlocale()[0]#canonical
++        canonical  = locale.getdefaultlocale(envvars=('LC_ALL', 'LANG'))[0] #canonical
+         if canonical is None:
+             #for mac
+             canonical   = 'en'
+




More information about the Python-apps-commits mailing list