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 24/68] lib/portage/dbapi/porttree.py: fix whitespace
Date: Mon, 03 Aug 2020 22:44:59
Message-Id: 20200803224327.1593726-24-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/dbapi/porttree.py | 10 +++++-----
4 1 file changed, 5 insertions(+), 5 deletions(-)
5
6 diff --git a/lib/portage/dbapi/porttree.py b/lib/portage/dbapi/porttree.py
7 index 4b714a919..9ad8addc7 100644
8 --- a/lib/portage/dbapi/porttree.py
9 +++ b/lib/portage/dbapi/porttree.py
10 @@ -220,7 +220,7 @@ class portdbapi(dbapi):
11 # instance that is passed in.
12 self.doebuild_settings = config(clone=self.settings)
13 self.depcachedir = os.path.realpath(self.settings.depcachedir)
14 -
15 +
16 if os.environ.get("SANDBOX_ON") == "1":
17 # Make api consumers exempt from sandbox violations
18 # when doing metadata cache updates.
19 @@ -453,7 +453,7 @@ class portdbapi(dbapi):
20 return self.settings.repositories.ignored_repos
21
22 def findname2(self, mycpv, mytree=None, myrepo=None):
23 - """
24 + """
25 Returns the location of the CPV, and what overlay it was in.
26 Searches overlays first, then PORTDIR; this allows us to return the first
27 matching file. As opposed to starting in portdir and then doing overlays
28 @@ -822,7 +822,7 @@ class portdbapi(dbapi):
29 pkgdir, self.settings["DISTDIR"])
30 checksums = mf.getDigests()
31 if not checksums:
32 - if debug:
33 + if debug:
34 writemsg(_("[empty/missing/bad digest]: %s\n") % (mypkg,))
35 return {}
36 filesdict={}
37 @@ -935,7 +935,7 @@ class portdbapi(dbapi):
38 def cp_all(self, categories=None, trees=None, reverse=False, sort=True):
39 """
40 This returns a list of all keys in our tree or trees
41 - @param categories: optional list of categories to search or
42 + @param categories: optional list of categories to search or
43 defaults to self.settings.categories
44 @param trees: optional list of trees to search the categories in or
45 defaults to self.porttrees
46 @@ -1314,7 +1314,7 @@ class portagetree:
47 settings=None):
48 """
49 Constructor for a PortageTree
50 -
51 +
52 @param root: deprecated, defaults to settings['ROOT']
53 @type root: String/Path
54 @param virtual: UNUSED
55 --
56 2.28.0