diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-04-09 14:54:17 -0700 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2017-06-22 20:05:40 -0400 |
commit | 22e1bd138dbcf32ca50f9659c9d847fdae11a5f0 (patch) | |
tree | aa9e37bda61076edb76fb803ec9dabed5686b615 /pm_plugins | |
parent | Add a .gitignore, remove ols .svn.ignore (diff) | |
download | layman-22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.tar.gz layman-22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.tar.bz2 layman-22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.zip |
pm_plugins/portage: drop portage._native_kwargs usage (bug 613936)
The portage._native_kwargs function is not available since
portage-2.3.0.
X-Gentoo-Bug: 613936
X-Gentoo-Bug-URL: https://bugs.gentoo.org/613936
Diffstat (limited to 'pm_plugins')
-rw-r--r-- | pm_plugins/portage/sync/modules/laymansync/subproc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pm_plugins/portage/sync/modules/laymansync/subproc.py b/pm_plugins/portage/sync/modules/laymansync/subproc.py index 1166841..477bb46 100644 --- a/pm_plugins/portage/sync/modules/laymansync/subproc.py +++ b/pm_plugins/portage/sync/modules/laymansync/subproc.py @@ -72,7 +72,7 @@ class Layman(NewBase): exitcode = portage.process.spawn_bash("%(command)s" % \ ({'command': command}), - **portage._native_kwargs(self.spawn_kwargs)) + **self.spawn_kwargs) if exitcode != os.EX_OK: msg = "!!! layman add error in %(repo)s"\ % ({'repo': self.repo.name}) @@ -111,7 +111,7 @@ class Layman(NewBase): command = ' '.join(args) exitcode = portage.process.spawn_bash("%(command)s" % \ ({'command': command}), - **portage._native_kwargs(self.spawn_kwargs)) + **self.spawn_kwargs) if exitcode != os.EX_OK: exitcode = self.new()[0] |