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 64/68] lib/_emerge/search.py: fix whitespace
Date: Mon, 03 Aug 2020 22:46:53
Message-Id: 20200803224327.1593726-64-bman@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 01/68] lib/portage/util/_dyn_libs/PreservedLibsRegistry.py: fix whitespace by Aaron Bauman
1 Signed-off-by: Aaron Bauman <bman@g.o>
2 ---
3 lib/_emerge/search.py | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/lib/_emerge/search.py b/lib/_emerge/search.py
7 index 000c427e0..a4ad74311 100644
8 --- a/lib/_emerge/search.py
9 +++ b/lib/_emerge/search.py
10 @@ -1,4 +1,4 @@
11 -# Copyright 1999-2016 Gentoo Foundation
12 +# Copyright 1999-2020 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 import difflib
16 @@ -333,7 +333,7 @@ class search:
17 match_string = setname
18 else:
19 match_string = setname.split("/")[-1]
20 -
21 +
22 if self.searchre.search(match_string):
23 yield ("set", setname)
24 elif self.searchdesc:
25 --
26 2.28.0