public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Devan Franchini" <twitch153@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/layman:master commit in: pm_plugins/portage/sync/modules/laymansync/
Date: Fri, 23 Jun 2017 00:05:58 +0000 (UTC)	[thread overview]
Message-ID: <1498176340.22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.twitch153@gentoo> (raw)

commit:     22e1bd138dbcf32ca50f9659c9d847fdae11a5f0
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  9 21:54:17 2017 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 00:05:40 2017 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=22e1bd13

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

 pm_plugins/portage/sync/modules/laymansync/subproc.py | 4 ++--
 1 file 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]


             reply	other threads:[~2017-06-23  0:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23  0:05 Devan Franchini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-24 20:59 [gentoo-commits] proj/layman:master commit in: pm_plugins/portage/sync/modules/laymansync/ Brian Dolbec
2016-04-29 23:19 Brian Dolbec
2015-05-06  1:13 Devan Franchini
2015-05-04 18:21 Brian Dolbec
2015-02-08  0:35 Devan Franchini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1498176340.22e1bd138dbcf32ca50f9659c9d847fdae11a5f0.twitch153@gentoo \
    --to=twitch153@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox