Pushed: 78a9765d > -----Original Message----- > From: Desimone, Ashley E <[email protected]> > Sent: Tuesday, May 12, 2020 11:45 AM > To: [email protected] > Cc: Desimone, Nathaniel L <[email protected]>; Pandya, Puja > <[email protected]>; Bjorge, Erik C <[email protected]>; Bret > Barkelew <[email protected]>; Agyeman, Prince > <[email protected]> > Subject: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Update return values of > manifest_repo_list > > Update the manifest_repo_list property to return an empty list if no > [manifest-repos] section was present in the config file. > > Signed-off-by: Ashley E Desimone <[email protected]> > Cc: Nate DeSimone <[email protected]> > Cc: Puja Pandya <[email protected]> > Cc: Erik Bjorge <[email protected]> > Cc: Bret Barkelew <[email protected]> > Cc: Prince Agyeman <[email protected]> > --- > edkrepo/config/config_factory.py | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/edkrepo/config/config_factory.py > b/edkrepo/config/config_factory.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 [] > > def manifest_repo_props(self, manifest_repo): > """ > -- > 2.16.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#59615): https://edk2.groups.io/g/devel/message/59615 Mute This Topic: https://groups.io/mt/74165643/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
