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 56/68] lib/portage/cache/template.py: fix whitespace
Date: Mon, 03 Aug 2020 22:46:32
Message-Id: 20200803224327.1593726-56-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/portage/cache/template.py | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/lib/portage/cache/template.py b/lib/portage/cache/template.py
7 index 509f8a2dc..c8351a924 100644
8 --- a/lib/portage/cache/template.py
9 +++ b/lib/portage/cache/template.py
10 @@ -29,7 +29,7 @@ class database:
11 self.readonly = readonly
12 self.sync_rate = 0
13 self.updates = 0
14 -
15 +
16 def __getitem__(self, cpv):
17 """set a cpv to values
18 This shouldn't be overriden in derived classes since it handles the __eclasses__ conversion.
19 @@ -255,7 +255,7 @@ class database:
20 """generic function for walking the entire cache db, matching restrictions to
21 filter what cpv's are returned. Derived classes should override this if they
22 can implement a faster method then pulling each cpv:values, and checking it.
23 -
24 +
25 For example, RDBMS derived classes should push the matching logic down to the
26 actual RDBM."""
27
28 --
29 2.28.0