Gentoo Archives: gentoo-portage-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Aaron Bauman <bman@g.o>
Subject: [gentoo-portage-dev] [PATCH 1/2] lib/portage/repository/config.py: fix trailing comma
Date: Wed, 05 Aug 2020 01:43:12
Message-Id: 20200805014304.59788-1-bman@gentoo.org
1 * This fixes the one instance of a trailing comma in the repo which
2 actually causes a tuple to be created.
3
4 Signed-off-by: Aaron Bauman <bman@g.o>
5 ---
6 lib/portage/repository/config.py | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/lib/portage/repository/config.py b/lib/portage/repository/config.py
10 index 0f3e582f8..f4dd834b5 100644
11 --- a/lib/portage/repository/config.py
12 +++ b/lib/portage/repository/config.py
13 @@ -871,7 +871,7 @@ class RepoConfigLoader:
14 continue
15 if repo.masters is None:
16 if self.mainRepo() and repo_name != self.mainRepo().name:
17 - repo.masters = self.mainRepo(),
18 + repo.masters = self.mainRepo()
19 else:
20 repo.masters = ()
21 else:
22 --
23 2.28.0

Replies