mirror of https://github.com/acidanthera/audk.git
BaseTools: Fixed a typo in Trim.py
This is a regression issue introduced
by commit 307e1650be
This patch is to fix this issue.
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
101dc9e257
commit
83d6207f99
|
@ -75,7 +75,7 @@ def TrimPreprocessedFile(Source, Target, ConvertHex, TrimLong):
|
|||
Lines = File.readlines()
|
||||
except IOError:
|
||||
EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
|
||||
expect:
|
||||
except:
|
||||
EdkLogger.error("Trim", AUTOGEN_ERROR, "TrimPreprocessedFile: Error while processing file", File=Source)
|
||||
|
||||
PreprocessedFile = ""
|
||||
|
|
Loading…
Reference in New Issue