Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH 2/2] Whitespace cleanup
Date: Sun, 23 Feb 2014 08:12:41
Message-Id: 1393142854-20700-3-git-send-email-dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] by Brian Dolbec
1 ---
2 pym/_emerge/actions.py | 4 ++--
3 pym/_emerge/main.py | 6 +++---
4 2 files changed, 5 insertions(+), 5 deletions(-)
5
6 diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
7 index a3f7813..f3e3b0c 100644
8 --- a/pym/_emerge/actions.py
9 +++ b/pym/_emerge/actions.py
10 @@ -3491,7 +3491,7 @@ def expand_set_arguments(myfiles, myaction, root_config):
11 unmerge_actions = ("unmerge", "prune", "clean", "depclean")
12
13 for a in myfiles:
14 - if a.startswith(SETPREFIX):
15 + if a.startswith(SETPREFIX):
16 s = a[len(SETPREFIX):]
17 if s not in sets:
18 display_missing_pkg_set(root_config, s)
19 @@ -3750,7 +3750,7 @@ def run_action(emerge_config):
20 if retval != os.EX_OK:
21 return retval
22
23 - # Need to handle empty sets specially, otherwise emerge will react
24 + # Need to handle empty sets specially, otherwise emerge will react
25 # with the help message for empty argument lists
26 if oldargs and not newargs:
27 print("emerge: no targets left after set expansion")
28 diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
29 index 1e21ddb..38bbd77 100644
30 --- a/pym/_emerge/main.py
31 +++ b/pym/_emerge/main.py
32 @@ -81,7 +81,7 @@ COWSAY_MOO = """
33 -----------------------
34 \ ^__^
35 \ (oo)\_______
36 - (__)\ )\/\
37 + (__)\ )\/\
38 ||----w |
39 || ||
40
41 @@ -583,7 +583,7 @@ def parse_opts(tmpcmdline, silent=False):
42 "packages that have been rebuilt",
43 "choices" : true_y_or_n
44 },
45 -
46 +
47 "--rebuilt-binaries-timestamp": {
48 "help" : "use only binaries that are newer than this " + \
49 "timestamp for --rebuilt-binaries",
50 @@ -893,7 +893,7 @@ def parse_opts(tmpcmdline, silent=False):
51 (myoptions.load_average,))
52
53 myoptions.load_average = load_average
54 -
55 +
56 if myoptions.rebuilt_binaries_timestamp:
57 try:
58 rebuilt_binaries_timestamp = int(myoptions.rebuilt_binaries_timestamp)
59 --
60 1.8.5.3