[gnome-continuous-yocto/gnomeostree-3.28-rocko: 599/8267] sanity: Drop setting C locale

commit 3c42280b8a5cac184311a59589849fec4e215a14
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Wed Jun 1 15:03:58 2016 +0100

    sanity: Drop setting C locale
    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.
    (From OE-Core rev: 42af63f326b03b32019c8b808b7ba07027f209b8)
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/sanity.bbclass |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 3d5ace2..a392bc2 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]