~jtaylor/ubuntu/oneiric/singularity/fix-576504

« back to all changes in this revision

Viewing changes to debian/patches/no-getdefaultlocale

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2010-03-03 01:28:20 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100303012820-ntznutbhu11c32it
Tags: 0.30a-1
* New upstream release
* Switch to dpkg-source 3.0 (quilt) format
* Standards-Version: 3.8.4 (no changes necessary).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: singularity-0.28a/code/g.py
2
 
===================================================================
3
 
--- singularity-0.28a.orig/code/g.py    2008-11-16 16:06:40.000000000 +0200
4
 
+++ singularity-0.28a/code/g.py 2008-11-16 16:08:08.000000000 +0200
5
 
@@ -79,7 +79,7 @@
6
 
 # If all of that fails, we hope locale magically does the right thing.
7
 
 def set_locale():
8
 
     for attempt in [language + ".UTF-8", language, 
9
 
-                    locale.getdefaultlocale()[0] + ".UTF-8", "", "en_US.UTF-8",
10
 
+                    "", "en_US.UTF-8",
11
 
                     "en_US"]:
12
 
         try:
13
 
             locale.setlocale(locale.LC_ALL, attempt)