Reviewed-by: Jaben Carsey <jaben.car...@intel.com> Thanks -Jaben
> -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Bob Feng > Sent: Thursday, August 01, 2019 6:24 AM > To: devel@edk2.groups.io > Cc: Gao, Liming <liming....@intel.com>; Feng, Bob C > <bob.c.f...@intel.com> > Subject: [edk2-devel] [Patch] BaseTools: Fixed a typo in Trim.py > > This is a regression issue introduced > by commit 307e1650be267b67db7be1089e0979ace460d83 > > This patch is to fix this issue. > > Cc: Liming Gao <liming....@intel.com> > Signed-off-by: Bob Feng <bob.c.f...@intel.com> > --- > BaseTools/Source/Python/Trim/Trim.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/BaseTools/Source/Python/Trim/Trim.py > b/BaseTools/Source/Python/Trim/Trim.py > index 8767b67f7e..24c3fafa76 100644 > --- a/BaseTools/Source/Python/Trim/Trim.py > +++ b/BaseTools/Source/Python/Trim/Trim.py > @@ -73,11 +73,11 @@ def TrimPreprocessedFile(Source, Target, > ConvertHex, TrimLong): > try: > with open(Source, "r") as File: > 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 = "" > InjectedFile = "" > LineIndexOfOriginalFile = None > -- > 2.18.0.windows.1 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44798): https://edk2.groups.io/g/devel/message/44798 Mute This Topic: https://groups.io/mt/32678944/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-