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/_sets/
Date: Mon, 03 Aug 2020 23:28:23
Message-Id: 1596497281.b07213754d987bcc8432995cbd4ee7ff2f22e99a.zmedico@gentoo
1 commit: b07213754d987bcc8432995cbd4ee7ff2f22e99a
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 22:43:09 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 23:28:01 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b0721375
7
8 lib/portage/_sets/shell.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/_sets/shell.py | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/lib/portage/_sets/shell.py b/lib/portage/_sets/shell.py
17 index 2c95845c8..8bea9fd63 100644
18 --- a/lib/portage/_sets/shell.py
19 +++ b/lib/portage/_sets/shell.py
20 @@ -1,4 +1,4 @@
21 -# Copyright 2007 Gentoo Foundation
22 +# Copyright 2007-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 import subprocess
26 @@ -30,7 +30,7 @@ class CommandOutputSet(PackageSet):
27 super(CommandOutputSet, self).__init__()
28 self._command = command
29 self.description = "Package set generated from output of '%s'" % self._command
30 -
31 +
32 def load(self):
33 pipe = subprocess.Popen(self._command, stdout=subprocess.PIPE, shell=True)
34 stdout, stderr = pipe.communicate()