]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/Source/Python/sitecustomize.py
Fix the typo for the structure definition of EFI_ADAPTER_INFO_NETWORK_BOOT in Adapter...
[mirror_edk2.git] / BaseTools / Source / Python / sitecustomize.py
... / ...
CommitLineData
1#
2# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
3#
4# This program and the accompanying materials
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.
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