[FIX]:Bug:403652
authorNaresh Choksy <nch@tinyerp.com>
Fri, 24 Jul 2009 04:58:25 +0000 (10:28 +0530)
committerNaresh Choksy <nch@tinyerp.com>
Fri, 24 Jul 2009 04:58:25 +0000 (10:28 +0530)
bzr revid: nch@tinyerp.com-20090724045825-nln03qk0ecx1fmg9

bin/service/web_services.py

index 683415c..4989dc8 100644 (file)
@@ -532,7 +532,7 @@ GNU Public Licence.
         except Exception,e:
              rev_id = 'Exception: %s\n' % (str(e))
 
-        os_lang = '.'.join(locale.getdefaultlocale())
+        os_lang = '.'.join( [x for x in locale.getdefaultlocale() if x] )
         environment = '\nEnvironment Information : \n' \
                       'PlatForm : %s\n' \
                       'Operating System : %s\n' \