Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: pm_plugins/portage/sync/modules/laymansync/
Date: Fri, 23 Jun 2017 00:06:04
Message-Id: 1498176340.22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.twitch153@gentoo
1 commit: 22e1bd138dbcf32ca50f9659c9d847fdae11a5f0
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 9 21:54:17 2017 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 23 00:05:40 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=22e1bd13
7
8 pm_plugins/portage: drop portage._native_kwargs usage (bug 613936)
9
10 The portage._native_kwargs function is not available since
11 portage-2.3.0.
12
13 X-Gentoo-Bug: 613936
14 X-Gentoo-Bug-URL: https://bugs.gentoo.org/613936
15
16 pm_plugins/portage/sync/modules/laymansync/subproc.py | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 diff --git a/pm_plugins/portage/sync/modules/laymansync/subproc.py b/pm_plugins/portage/sync/modules/laymansync/subproc.py
20 index 1166841..477bb46 100644
21 --- a/pm_plugins/portage/sync/modules/laymansync/subproc.py
22 +++ b/pm_plugins/portage/sync/modules/laymansync/subproc.py
23 @@ -72,7 +72,7 @@ class Layman(NewBase):
24
25 exitcode = portage.process.spawn_bash("%(command)s" % \
26 ({'command': command}),
27 - **portage._native_kwargs(self.spawn_kwargs))
28 + **self.spawn_kwargs)
29 if exitcode != os.EX_OK:
30 msg = "!!! layman add error in %(repo)s"\
31 % ({'repo': self.repo.name})
32 @@ -111,7 +111,7 @@ class Layman(NewBase):
33 command = ' '.join(args)
34 exitcode = portage.process.spawn_bash("%(command)s" % \
35 ({'command': command}),
36 - **portage._native_kwargs(self.spawn_kwargs))
37 + **self.spawn_kwargs)
38
39 if exitcode != os.EX_OK:
40 exitcode = self.new()[0]