Gentoo Archives: gentoo-portage-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 1/2] lib/portage/repository/config.py: fix trailing comma
Date: Wed, 05 Aug 2020 01:56:13
Message-Id: 20200805015608.GA34097@bubba
In Reply to: [gentoo-portage-dev] [PATCH 1/2] lib/portage/repository/config.py: fix trailing comma by Aaron Bauman
1 On Tue, Aug 04, 2020 at 09:43:03PM -0400, Aaron Bauman wrote:
2 > * This fixes the one instance of a trailing comma in the repo which
3 > actually causes a tuple to be created.
4 >
5 > Signed-off-by: Aaron Bauman <bman@g.o>
6 > ---
7 > lib/portage/repository/config.py | 2 +-
8 > 1 file changed, 1 insertion(+), 1 deletion(-)
9 >
10 > diff --git a/lib/portage/repository/config.py b/lib/portage/repository/config.py
11 > index 0f3e582f8..f4dd834b5 100644
12 > --- a/lib/portage/repository/config.py
13 > +++ b/lib/portage/repository/config.py
14 > @@ -871,7 +871,7 @@ class RepoConfigLoader:
15 > continue
16 > if repo.masters is None:
17 > if self.mainRepo() and repo_name != self.mainRepo().name:
18 > - repo.masters = self.mainRepo(),
19 > + repo.masters = self.mainRepo()
20 > else:
21 > repo.masters = ()
22 > else:
23 > --
24 > 2.28.0
25 >
26 >
27
28 Please disregard this patch series.
29
30 --
31 Cheers,
32 Aaron

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies