]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/Source/Python/sitecustomize.py
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / BaseTools / Source / Python / sitecustomize.py
... / ...
CommitLineData
1## @file\r
2#\r
3#\r
4# Copyright (c) 2009 - 2014, Apple Inc. All rights reserved.<BR>\r
5#\r
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7import sys\r
8import locale\r
9\r
10if sys.platform == "darwin" and sys.version_info[0] < 3:\r
11 DefaultLocal = locale.getdefaultlocale()[1]\r
12 if DefaultLocal is None:\r
13 DefaultLocal = 'UTF8'\r
14 sys.setdefaultencoding(DefaultLocal)\r
15\r