[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8157 - trunk/gnue-common/src/apps
From: |
johannes |
Subject: |
[gnue] r8157 - trunk/gnue-common/src/apps |
Date: |
Fri, 10 Feb 2006 01:57:47 -0600 (CST) |
Author: johannes
Date: 2006-02-10 01:57:47 -0600 (Fri, 10 Feb 2006)
New Revision: 8157
Modified:
trunk/gnue-common/src/apps/i18n.py
Log:
Always return a locale. If the locale returned by getlocale () is None,
default to 'C'
Modified: trunk/gnue-common/src/apps/i18n.py
===================================================================
--- trunk/gnue-common/src/apps/i18n.py 2006-02-09 19:24:41 UTC (rev 8156)
+++ trunk/gnue-common/src/apps/i18n.py 2006-02-10 07:57:47 UTC (rev 8157)
@@ -206,7 +206,7 @@
except locale.Error:
result = ''
- return result
+ return result or 'C'
# -----------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8157 - trunk/gnue-common/src/apps,
johannes <=