From 3b553e0ab2146ef2055c969a1893b453b2023cf4 Mon Sep 17 00:00:00 2001 From: darylm503 Date: Wed, 4 Apr 2012 23:40:55 +0000 Subject: AppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and StdLib\lib\python.27\site-customize directories were not being processed. Fix bug where unicode strings were not being correctly encoded in the "idna" encoding before being passed to low-level networking functions. Correct problem where a spurious message, "Shell: Incorrect redirection syntax - '2>/dev/null'", was being output by PyDoc. Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: jordan.l.justen@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13161 6f19259b-4bc3-4df7-8a09-765794883524 --- AppPkg/Applications/Python/Efi/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'AppPkg/Applications/Python/Efi') diff --git a/AppPkg/Applications/Python/Efi/config.c b/AppPkg/Applications/Python/Efi/config.c index 2fd6019abd..7ae26319bd 100644 --- a/AppPkg/Applications/Python/Efi/config.c +++ b/AppPkg/Applications/Python/Efi/config.c @@ -82,6 +82,7 @@ struct _inittab _PyImport_Inittab[] = { //{"_ast", init_ast}, //{"_bisect", init_bisect}, /* A fast version of bisect.py */ + //{"_csv", init_csv}, //{"_heapq", init_heapq}, /* A fast version of heapq.py */ //{"_io", init_io}, //{"_json", init_json}, @@ -90,6 +91,7 @@ struct _inittab _PyImport_Inittab[] = { //{"_sha256", init_sha256}, //{"_sha512", init_sha512}, //{"_socket", init_socket}, + //{"_symtable", init_symtable}, //{"array", initarray}, //{"cmath", initcmath}, @@ -100,6 +102,7 @@ struct _inittab _PyImport_Inittab[] = { //{"select", initselect}, //{"signal", initsignal}, //{"strop", initstrop}, /* redefines some string operations that are 100-1000 times faster */ + //{"unicodedata", initunicodedata}, //{"xxsubtype", initxxsubtype}, //{"zipimport", initzipimport}, //{"zlib", initzlib}, @@ -117,9 +120,6 @@ struct _inittab _PyImport_Inittab[] = { {"thread", initthread}, #endif - //{"_symtable", init_symtable}, - //{"_csv", init_csv}, - /* These modules are required for the full built-in help() facility provided by pydoc. */ {"_codecs", init_codecs}, {"_collections", init_collections}, -- cgit v1.2.3