mirror of https://github.com/acidanthera/audk.git
f56d52c7f5
On Debian 10 (Buster), when running PatchCheck.py with python2, a backtrace is printed, starting from: File "../edk2/BaseTools/Scripts/PatchCheck.py", line 595, in find_patch_pieces parts = email.header.decode_header(pmail.get('subject')) AttributeError: 'module' object has no attribute 'header' When using python3, this backtrace does not appear. Explicitly importing email.header resolves this for python2 and does not appear to cause any issues with python3. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> |
||
---|---|---|
.. | ||
PackageDocumentTools | ||
BinToPcd.py | ||
ConvertFceToStructurePcd.py | ||
ConvertMasmToNasm.py | ||
ConvertUni.py | ||
DetectNotUsedItem.py | ||
FormatDosFiles.py | ||
GccBase.lds | ||
GetMaintainer.py | ||
GetUtcDateTime.py | ||
MemoryProfileSymbolGen.py | ||
PatchCheck.py | ||
RunMakefile.py | ||
RunMakefileSample.mak | ||
Rvct-Align4K.sct | ||
Rvct-Align32.sct | ||
SetVisualStudio.bat | ||
SetupGit.py | ||
ShowEnvironment.bat | ||
SmiHandlerProfileSymbolGen.py | ||
UpdateBuildVersions.py |