Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/cache/
Date: Mon, 03 Aug 2020 23:28:25
Message-Id: 1596497282.54d5bb6affb81746f58bc62df5fa170d11bf1324.zmedico@gentoo
1 commit: 54d5bb6affb81746f58bc62df5fa170d11bf1324
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 22:43:15 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 23:28:02 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=54d5bb6a
7
8 lib/portage/cache/template.py: fix whitespace
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 lib/portage/cache/template.py | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/lib/portage/cache/template.py b/lib/portage/cache/template.py
17 index 509f8a2dc..c8351a924 100644
18 --- a/lib/portage/cache/template.py
19 +++ b/lib/portage/cache/template.py
20 @@ -29,7 +29,7 @@ class database:
21 self.readonly = readonly
22 self.sync_rate = 0
23 self.updates = 0
24 -
25 +
26 def __getitem__(self, cpv):
27 """set a cpv to values
28 This shouldn't be overriden in derived classes since it handles the __eclasses__ conversion.
29 @@ -255,7 +255,7 @@ class database:
30 """generic function for walking the entire cache db, matching restrictions to
31 filter what cpv's are returned. Derived classes should override this if they
32 can implement a faster method then pulling each cpv:values, and checking it.
33 -
34 +
35 For example, RDBMS derived classes should push the matching logic down to the
36 actual RDBM."""