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 27/68] lib/portage/process.py: fix whitespace
Date: Mon, 03 Aug 2020 22:45:08
Message-Id: 20200803224327.1593726-27-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/process.py | 10 +++++-----
4 1 file changed, 5 insertions(+), 5 deletions(-)
5
6 diff --git a/lib/portage/process.py b/lib/portage/process.py
7 index f0019f2c0..1ff886bf3 100644
8 --- a/lib/portage/process.py
9 +++ b/lib/portage/process.py
10 @@ -123,7 +123,7 @@ def sanitize_fds():
11 def spawn_bash(mycommand, debug=False, opt_name=None, **keywords):
12 """
13 Spawns a bash shell running a specific commands
14 -
15 +
16 @param mycommand: The command for bash to run
17 @type mycommand: String
18 @param debug: Turn bash debugging on (set -x)
19 @@ -228,7 +228,7 @@ def spawn(mycommand, env=None, opt_name=None, fd_pipes=None, returnpid=False,
20 cgroup=None):
21 """
22 Spawns a given command.
23 -
24 +
25 @param mycommand: the command to execute
26 @type mycommand: String or List (Popen style list)
27 @param env: If env is not None, it must be a mapping that defines the environment
28 @@ -277,7 +277,7 @@ def spawn(mycommand, env=None, opt_name=None, fd_pipes=None, returnpid=False,
29
30 logfile requires stdout and stderr to be assigned to this process (ie not pointed
31 somewhere else.)
32 -
33 +
34 """
35
36 # mycommand is either a str or a list
37 @@ -516,7 +516,7 @@ def _exec(binary, mycommand, opt_name, fd_pipes,
38
39 """
40 Execute a given binary with options
41 -
42 +
43 @param binary: Name of program to execute
44 @type binary: String
45 @param mycommand: Options for program
46 @@ -945,7 +945,7 @@ def _setup_pipes(fd_pipes, close_fds=True, inheritable=None):
47 def find_binary(binary):
48 """
49 Given a binary name, find the binary in PATH
50 -
51 +
52 @param binary: Name of the binary to find
53 @type string
54 @rtype: None or string
55 --
56 2.28.0