]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins
authorPhilippe Mathieu-Daude <philmd@redhat.com>
Thu, 5 Dec 2019 11:19:42 +0000 (19:19 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 6 Dec 2019 03:07:37 +0000 (03:07 +0000)
commite8b9296c67dffaddd26dce06d8daaca6206fa620
tree036e1052a4eae7c45ce73261446908ef3367508f
parent0f9395d7c5cc6ae2beaa2d87008fe158d04a8069
.pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2304

To avoid SyntaxWarning with Python 3.8, change the 'is' operator
by the conventional '==' comparator.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
.pytool/Plugin/DscCompleteCheck/DscCompleteCheck.py
.pytool/Plugin/LibraryClassCheck/LibraryClassCheck.py