From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.7124.1575540483750842399 for ; Thu, 05 Dec 2019 02:08:03 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: bob.c.feng@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2019 02:08:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,281,1571727600"; d="scan'208";a="223590085" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 05 Dec 2019 02:08:02 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 02:08:02 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 02:08:01 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.90]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.164]) with mapi id 14.03.0439.000; Thu, 5 Dec 2019 18:08:00 +0800 From: "Bob Feng" To: "devel@edk2.groups.io" , "Feng, Bob C" , "philmd@redhat.com" CC: Sean Brogan , "Fan, ZhijuX" , Bret Barkelew , "Gao, Liming" , "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH 2/2] .pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins Thread-Topic: [edk2-devel] [PATCH 2/2] .pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins Thread-Index: AQHVqTan+dMj3WZ+FkeEJON33lToXaerUs9wgAABvRA= Date: Thu, 5 Dec 2019 10:07:59 +0000 Message-ID: <08650203BA1BD64D8AD9B6D5D74A85D16157BF09@SHSMSX104.ccr.corp.intel.com> References: <20191202173309.10411-1-philmd@redhat.com> <20191202173309.10411-3-philmd@redhat.com> <15DD71437DB6197D.24783@groups.io> In-Reply-To: <15DD71437DB6197D.24783@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: bob.c.feng@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgUGhpbGlwcGUsDQoNClBsZWFzZSBhZGQgQlogbGluayBpbiB0aGUgY29tbWl0IG1lc3NhZ2Uu IEFmdGVyIGFkZGluZyB0aGF0LCBSZXZpZXdlZC1ieTogQm9iIEZlbmcgPGJvYi5jLmZlbmdAaW50 ZWwuY29tPg0KDQpUaGFua3MsDQpCb2INCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZy b206IGRldmVsQGVkazIuZ3JvdXBzLmlvIFttYWlsdG86ZGV2ZWxAZWRrMi5ncm91cHMuaW9dIE9u IEJlaGFsZiBPZiBCb2IgRmVuZw0KU2VudDogVGh1cnNkYXksIERlY2VtYmVyIDUsIDIwMTkgNjow MCBQTQ0KVG86IGRldmVsQGVkazIuZ3JvdXBzLmlvOyBwaGlsbWRAcmVkaGF0LmNvbQ0KQ2M6IFNl YW4gQnJvZ2FuIDxzZWFuLmJyb2dhbkBtaWNyb3NvZnQuY29tPjsgRmFuLCBaaGlqdVggPHpoaWp1 eC5mYW5AaW50ZWwuY29tPjsgQnJldCBCYXJrZWxldyA8QnJldC5CYXJrZWxld0BtaWNyb3NvZnQu Y29tPjsgR2FvLCBMaW1pbmcgPGxpbWluZy5nYW9AaW50ZWwuY29tPjsgS2lubmV5LCBNaWNoYWVs IEQgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPg0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