]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity: Drop setting C locale
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2016 14:03:58 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2016 14:05:23 +0000 (15:05 +0100)
We really want the en_US locale as per the configuration and
previous patches. Don't set it back to C as things will break
under python3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index 3d5ace20a769a146c394f649975a1b4c7086d054..a392bc29d1b5f824f632c26e0226f7222db4bbc9 100644 (file)
@@ -774,7 +774,6 @@ def sanity_check_locale(d):
         locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
     except locale.Error:
         raise_sanity_error("You system needs to support the en_US.UTF-8 locale.", d)
-    locale.setlocale(locale.LC_ALL, "C")
 
 def check_sanity_everybuild(status, d):
     import os, stat