From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.562.1589315408737039180 for ; Tue, 12 May 2020 13:30:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ITBQ44BG; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: prince.agyeman@intel.com) IronPort-SDR: 5lA2DWd1W1ODRUZFKXfyyVo9hrbEYC0twQGP3fo5TALdjFa2NjgFT1VwfI/ckNpH4mXz+MAL3t 5ni4qTYsS5vA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 13:30:07 -0700 IronPort-SDR: T2U5rZFLaG0GnKPF4WNEvqQfTTXn8h+skKUfYHY6QWZpBTdM3w+i4RlSQMQ/OL8n4+NynPdi5q Ys4iJmaHhKAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,385,1583222400"; d="scan'208";a="251562796" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga007.fm.intel.com with ESMTP; 12 May 2020 13:30:06 -0700 Received: from orsmsx160.amr.corp.intel.com (10.22.226.43) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 13:29:51 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX160.amr.corp.intel.com (10.22.226.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 13:29:51 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 13:29:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bESqNmfGh5uWTk+MuKFs8M05XgGLRLNaJ67RcTsg28nrETa4zrukzxuIfUVRHJJwmvtFZLezuayDUJEVnw9/zxgEqILUCAec/8qmOTf58rebEBRKW3Oo2jYZMnj/D0rokE9tPr3vXqU1ihZa4Pf1qBHa+35A2pZD6aJPhvS6bZ9boxm/1KVtTmmx/lfk7z0h+TUakW4qKqfOvgc2V/8TObyfzvkTf2PEuTWBfcWoH08RX99Oz6rIGtq/D0oJvW7swQzmuS7nCHuU89foule5oJDKRRcpn6g4FNqHRG0iSR9ByJy8GIWfl0bx+nuPnPtk7GszEF0KrsPpMpHIwfDx2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DOko61Xv3JsXrplxgO2rnScNfjYHrR1ItNwlNIuJ+LI=; b=LuAU3su6XXmPpFsa0EGfVU0DlJq9ArrhNplKJLyDBxccbkuKDgUUBqHia24lAuL40DDbUFE2WtY0urNdupPtgj+Qv4/Zk3Om4VqfHHaJWinwID2cF+AgYANyj+mNtpTnWBz799mHb+SPG+9ZqrLQLS552SdgCydZhVwTm5UJDmQkStKSWWJ0mbYzHe6C6AerfKb17nO1ToiWdeV3Gm8y7ZeCGs1yWgktzAeTSczgLourasGAv3qnJX2nUsMUNLUQSchuXQyFMu3LpjM+aGsahh3un72MmlnvHrK6X83aGwKQTq13Y9w1p4oO40LRoCEpPMsPJQ90L7+q4FDyQOb7KQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DOko61Xv3JsXrplxgO2rnScNfjYHrR1ItNwlNIuJ+LI=; b=ITBQ44BGay7lVef0IrDigoPPVTRz2mZCQrRtQe9wtoBISEatNsv7vBCYUvUT1KLunW5INb85oEXUmVTRuXN/8eaeXXWtLdM58NtboS72AH3e2MWY6z7b4ENrlq18xkSrA7BfC4W2pVgyUIo0VyXp1+napOgrlUJ/uXCbGPDMxg8= Received: from DM6PR11MB3465.namprd11.prod.outlook.com (2603:10b6:5:b::18) by DM6PR11MB3482.namprd11.prod.outlook.com (2603:10b6:5:58::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.28; Tue, 12 May 2020 20:29:49 +0000 Received: from DM6PR11MB3465.namprd11.prod.outlook.com ([fe80::5c8b:e97b:85a2:12bc]) by DM6PR11MB3465.namprd11.prod.outlook.com ([fe80::5c8b:e97b:85a2:12bc%7]) with mapi id 15.20.2979.033; Tue, 12 May 2020 20:29:49 +0000 From: "Agyeman, Prince" To: "Desimone, Ashley E" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Pandya, Puja" , "Bjorge, Erik C" , "Bret Barkelew" Subject: Re: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Update return values of manifest_repo_list Thread-Topic: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Update return values of manifest_repo_list Thread-Index: AQHWKI2UfQDgmoILxEO79vMAKn4Pi6ik5qZg Date: Tue, 12 May 2020 20:29:49 +0000 Message-ID: References: <20200512184524.14376-1-ashley.e.desimone@intel.com> In-Reply-To: <20200512184524.14376-1-ashley.e.desimone@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [50.39.166.0] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: edbd4d66-78b3-46a9-214c-08d7f6b337f1 x-ms-traffictypediagnostic: DM6PR11MB3482: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2276; x-forefront-prvs: 0401647B7F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ttokIiMOLPhUuTasUNtmRaHqKA73PdlqNC5Pbrt0ZZbpdnaXyJRJK5m8cnxeslEBwi4ijSNbNXJGM6i2FVcIwPoVDyMSIETt9kOUA8P+t78GIVpHYI/Fb0d2pxptyK9tQYCB/5sCHgYdDQFS92/ONxMIsIwfcAm5i67Dujueivp3PVsnLgibG344uLIrWDKV6CCyUX4htVOML6pFoL4ZJpb3s0mjiCqe3m3nqKq4Rj44zGMkKCBlhnAqUZR60dLQjr3W/MEbv7a5IQOBpIQ/J+SPUv4B42TS/ThiKI2TLwhNx3tvvHDuys6F1TAsAR0PRXf+gQXbDy0AB3s7G8mGseyu0e48X92aIv8R5HA5Kpt+j+5zA5HFOCsIkYSYbuEp9oeV4pkcMClZL8HxKnhoidt6zzWNgU5EdC7xh85qjm8vuEb5RnbkSdQjuEJhR7s0nQkouRpoLsZHaig8DnJyqt9eyX+ksc6rs0CvDVn9CO8wVdYOwjCn/R9QdAzJK5FxDAiamBy9NqJAbwJ7YxG8sA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3465.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(346002)(136003)(366004)(39860400002)(396003)(33430700001)(66946007)(64756008)(4326008)(66556008)(7696005)(5660300002)(478600001)(86362001)(54906003)(8936002)(110136005)(33656002)(52536014)(76116006)(8676002)(33440700001)(26005)(66446008)(9686003)(66476007)(53546011)(2906002)(186003)(15650500001)(6506007)(316002)(71200400001)(55016002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 4Jb7Y6hPTwC//mWM0Zf07dF5TgeC7ewAcIwaMI04RfGdcrFMz3QhapWV16iSml4fVl4O89csTVmqSTetTvjxb8inaKJpywKmDDu/fxiosOyQs8Hku5khfu+OKAPcQ0NZJKdNppfywdjcqyzXf+rA5EOVup+9OCCWJgtfcQDcH9lhfr0caBUEjCZT8yIOmKwQZRE6viTyigYcL82koLfh/8I23AYY9Mx2JzsQiIt2C0BuXPADffcuxrgHqav9nVd08AjFjmeZqszb8j95fp54IQfia6K1O5P64iJ/51dim3TsV8KvDZYUAFj3UYCuVZjzaO63+SF57QTlGaOg2k0u1k5x4ZoNRFLt5D9+O6+e4zgu2JaaEsgMmdWUv4OMdtNv1BbLjQ2B5iO3s/eHx9oVbESp6jxt9UwWjoTDOUiImKnH84C6Hp7/cp0sitHz/r0Sb40Pf2LFxiJiJLvHAxghbor11TPaH/473QoAwvCVh0E= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: edbd4d66-78b3-46a9-214c-08d7f6b337f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2020 20:29:49.3589 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 41XKAwhwctkYuB/P+4MpUIV7SirLHZNAZTeqfNdo6YNBexjP/brcLtFQHtRRE/FMXndyTGf1GAT4rW1SPpnfVYh8gQuVusjt7BJqBe8Z/bo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3482 Return-Path: prince.agyeman@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Prince Agyeman -----Original Message----- From: Desimone, Ashley E =20 Sent: Tuesday, May 12, 2020 11:45 AM To: devel@edk2.groups.io Cc: Desimone, Nathaniel L ; Pandya, Puja ; Bjorge, Erik C ; Bret Barke= lew ; Agyeman, Prince Subject: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Update return values of ma= nifest_repo_list Update the manifest_repo_list property to return an empty list if no [manif= est-repos] section was present in the config file. Signed-off-by: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Cc: Prince Agyeman --- edkrepo/config/config_factory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edkrepo/config/config_factory.py b/edkrepo/config/config_facto= ry.py index c0b9f68..116cb24 100644 --- a/edkrepo/config/config_factory.py +++ b/edkrepo/config/config_factory.py @@ -119,6 +119,8 @@ class BaseConfig(): """Returns a list of available manifest repos""" if self.cfg.has_section('manifest-repos'): return self.cfg.options('manifest-repos') + else: + return [] =20 def manifest_repo_props(self, manifest_repo): """ -- 2.16.2.windows.1