From nobody Sat Apr 20 10:42:42 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+66175+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66175+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1602581308; cv=none; d=zohomail.com; s=zohoarc; b=UYlGSGRPXxC8r017rZPbGlTdSFTYkW7kDQgaagf4Q8Oum4dqZX/QIBk7fNx5U81JpyE5F6zV5LwmdJhPvYoJCWpi6v/eO3RWWnvpduf1LK0fkMFiwD9+Iw7rBRyslf4vGgIwysXyY0HhLdtAXOLYUm8f2Lo3YHz+upC8G9qdNW8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602581308; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=+Jx2UEZqjG/jcQWJRIZ6L38WpAL3JZMvpFvJSYrunpI=; b=HulmevZ9p+MuP4/DiEFcDoDhdCIKvgWjAyVVQ924yaU6vMYlwkGg7StWvht85CFXG3/ibsq23gx9QCHaobvFZdP0TJ3u2fl1a/J+mE0L9f/K5J2o7WGe5sBMrADM2qxd8fG7o7EeH/EV8cn8eszt99Yo5mJWwcTlh6g2mxLNmN8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+66175+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1602581308239289.353939637964; Tue, 13 Oct 2020 02:28:28 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YzOQYY1788612xIDStyrT3eV; Tue, 13 Oct 2020 02:28:27 -0700 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web11.3049.1602557024554520427 for ; Mon, 12 Oct 2020 19:43:44 -0700 X-Received: from LAPTOP2AECFQIA ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 13 Oct 2020 10:43:42 +0800 X-WM-Sender: fengyunhua@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: fengyunhua@byosoft.com.cn From: "fengyunhua" To: Cc: , , Subject: [edk2-devel] [PATCH] IntelFsp2Pkg/Tools: Fix a typo issue Date: Tue, 13 Oct 2020 10:43:42 +0800 Message-ID: <000301d6a10a$aa373ce0$fea5b6a0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AdahCqnp8cNdCHqKTqKZYmXAAnelsg== Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,fengyunhua@byosoft.com.cn X-Gm-Message-State: HYtUyCezd17354ej10uPEhyPx1787277AA= Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1602581307; bh=LPOxkZhXc2pKnp0H+HT2z7DO7nQVKRj0EgneawnVysU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=DYvZOKiWgkcoAR25RKHM/xQsESfFHxQpBT2lqKb7hIqJF9q9cActUhdk+IdSgQNJs/n PynXC0da815izqa6DWYQuFoxk1CBUrSEFt2yDiEiH1HIi8OXwSp7NV6nkaixx6lQ4UqYX /FJkdNL06wPQaEKHVJCaRMtp2pTwBwPwa4k= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Error message: raise Exception ("'%s' is not a valid directory!" % FvDir) NameError: name 'FvDir' is not defined FvDir should be fvDir. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yunhua Feng Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- IntelFsp2Pkg/Tools/PatchFv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py index edb30c816b..0c8d908063 100644 --- a/IntelFsp2Pkg/Tools/PatchFv.py +++ b/IntelFsp2Pkg/Tools/PatchFv.py @@ -163,7 +163,7 @@ class Symbols: # If the fvDir is not a directory, then raise an exception # if not os.path.isdir(fvDir): - raise Exception ("'%s' is not a valid directory!" % FvDir) + raise Exception ("'%s' is not a valid directory!" % fvDir) =20 # # If the Guid.xref is not existing in fvDir, then raise an excepti= on --=20 2.27.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#66175): https://edk2.groups.io/g/devel/message/66175 Mute This Topic: https://groups.io/mt/77476116/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-