Please unblock singularity 0.28a-3
dato said ok to this on IRC. I've uploaded singularity 0.28a-3,
fixing #505825. getdefaultlocale() returned a null when the locale
wasn't set. Just removing the call makes it work well enough.
Index: singularity-0.28a/code/g.py
===================================================================
--- singularity-0.28a.orig/code/g.py 2008-11-19 14:01:18.000000000 +0200
+++ singularity-0.28a/code/g.py 2008-11-19 14:01:33.000000000 +0200
@@ -79,7 +79,7 @@
# If all of that fails, we hope locale magically does the right thing.
def set_locale():
for attempt in [language + ".UTF-8", language,
- locale.getdefaultlocale()[0] + ".UTF-8", "", "en_US.UTF-8",
+ "", "en_US.UTF-8",
"en_US"]:
try:
locale.setlocale(locale.LC_ALL, attempt)
Reply to: