public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/tests/ebuild/
Date: Sun, 19 Jul 2020 21:55:09 +0000 (UTC)	[thread overview]
Message-ID: <1595195043.601a10bfb9c2641b56366c0d512b01da9c6fa79d.zmedico@gentoo> (raw)

commit:     601a10bfb9c2641b56366c0d512b01da9c6fa79d
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 19 21:34:39 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Jul 19 21:44:03 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=601a10bf

EbuildFetchTestCase: fix PORTAGE_DEPCACHEDIR leakage from calling env

Reported-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/portage/tests/ebuild/test_fetch.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/portage/tests/ebuild/test_fetch.py b/lib/portage/tests/ebuild/test_fetch.py
index 232f78b5e..5b67dc519 100644
--- a/lib/portage/tests/ebuild/test_fetch.py
+++ b/lib/portage/tests/ebuild/test_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 import functools
@@ -167,7 +167,7 @@ class EbuildFetchTestCase(TestCase):
 					'--repositories-configuration', settings.repositories.config_string(),
 					'--repo', 'test_repo', '--mirror')
 
-				env = os.environ.copy()
+				env = settings.environ()
 				env['PYTHONPATH'] = ':'.join(
 					filter(None, [PORTAGE_PYM_PATH] + os.environ.get('PYTHONPATH', '').split(':')))
 


             reply	other threads:[~2020-07-19 21:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-19 21:55 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-31  0:01 [gentoo-commits] proj/portage:master commit in: lib/portage/tests/ebuild/ Zac Medico
2023-12-05  6:11 Zac Medico
2023-10-30  5:09 Zac Medico
2021-05-24  6:20 Zac Medico
2021-02-21  8:33 Zac Medico
2020-08-03 23:28 Zac Medico
2020-03-22  1:12 Zac Medico
2019-10-19 23:15 Zac Medico
2019-10-19  5:29 Zac Medico
2019-10-19  1:38 Zac Medico

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=1595195043.601a10bfb9c2641b56366c0d512b01da9c6fa79d.zmedico@gentoo \
    --to=zmedico@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