Fix the typo for the structure definition of EFI_ADAPTER_INFO_NETWORK_BOOT in Adapter...
[mirror_edk2.git] / BaseTools / Source / Python / sitecustomize.py
CommitLineData
52302d4d 1#
40d841f6 2# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
52302d4d 3#
40d841f6 4# This program and the accompanying materials
52302d4d
LG
5# are licensed and made available under the terms and conditions of the BSD License
6# which accompanies this distribution. The full text of the license may be found at
7# http://opensource.org/licenses/bsd-license.php
8#
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
a709adfa
LG
11import sys
12import locale
13
14if sys.platform == "darwin":
15 DefaultLocal = locale.getdefaultlocale()[1]
16 if DefaultLocal is None:
17 DefaultLocal = 'UTF8'
18 sys.setdefaultencoding(DefaultLocal)
19