Last change
on this file since 85805 was 85718, checked in by vboxsync, 5 years ago |
Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
349 bytes
|
Line | |
---|
1 | ## @file
|
---|
2 | #
|
---|
3 | #
|
---|
4 | # Copyright (c) 2009 - 2014, Apple Inc. All rights reserved.<BR>
|
---|
5 | #
|
---|
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | import sys
|
---|
8 | import locale
|
---|
9 |
|
---|
10 | if sys.platform == "darwin" and sys.version_info[0] < 3:
|
---|
11 | DefaultLocal = locale.getdefaultlocale()[1]
|
---|
12 | if DefaultLocal is None:
|
---|
13 | DefaultLocal = 'UTF8'
|
---|
14 | sys.setdefaultencoding(DefaultLocal)
|
---|
15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.