public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code
@ 2014-12-13 16:59 Arfrever Frehtes Taifersar Arahesis
  2014-12-13 18:37 ` Zac Medico
  0 siblings, 1 reply; 3+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2014-12-13 16:59 UTC (permalink / raw
  To: Gentoo Portage Development


[-- Attachment #1.1: Type: Text/Plain, Size: 221 bytes --]

[[[
portage.tests.glsa.test_security_set: Delete deprecated code.

1 call to deprecated portage.repository.config.RepoConfigLoader.mainRepoLocation()
function has been deleted.
]]]

--
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #1.2: portage.patch --]
[-- Type: text/x-patch, Size: 702 bytes --]

--- pym/portage/tests/glsa/test_security_set.py
+++ pym/portage/tests/glsa/test_security_set.py
@@ -1,4 +1,4 @@
-# Copyright 2013 Gentoo Foundation
+# Copyright 2013-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 from __future__ import unicode_literals
@@ -129,8 +129,7 @@
 		try:
 
 			portdb = playground.trees[playground.eroot]["porttree"].dbapi
-			glsa_dir = os.path.join(
-				portdb.repositories.mainRepoLocation(), 'metadata', 'glsa')
+			glsa_dir = os.path.join(portdb.repositories['test_repo'].location, 'metadata', 'glsa')
 			portage.util.ensure_dirs(glsa_dir)
 			for glsa in glsas:
 				with io.open(os.path.join(glsa_dir,

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code
  2014-12-13 16:59 [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code Arfrever Frehtes Taifersar Arahesis
@ 2014-12-13 18:37 ` Zac Medico
  2014-12-15 14:24   ` Brian Dolbec
  0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2014-12-13 18:37 UTC (permalink / raw
  To: gentoo-portage-dev

On 12/13/2014 08:59 AM, Arfrever Frehtes Taifersar Arahesis wrote:
> [[[
> portage.tests.glsa.test_security_set: Delete deprecated code.
> 
> 1 call to deprecated portage.repository.config.RepoConfigLoader.mainRepoLocation()
> function has been deleted.
> ]]]
> 
> --
> Arfrever Frehtes Taifersar Arahesis
> 

LGTM.
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code
  2014-12-13 18:37 ` Zac Medico
@ 2014-12-15 14:24   ` Brian Dolbec
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2014-12-15 14:24 UTC (permalink / raw
  To: gentoo-portage-dev

On Sat, 13 Dec 2014 10:37:11 -0800
Zac Medico <zmedico@gentoo.org> wrote:

> On 12/13/2014 08:59 AM, Arfrever Frehtes Taifersar Arahesis wrote:
> > [[[
> > portage.tests.glsa.test_security_set: Delete deprecated code.
> > 
> > 1 call to deprecated
> > portage.repository.config.RepoConfigLoader.mainRepoLocation()
> > function has been deleted. ]]]
> > 
> > --
> > Arfrever Frehtes Taifersar Arahesis
> > 
> 
> LGTM.

+1

-- 
Brian Dolbec <dolsen>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-15 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-13 16:59 [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code Arfrever Frehtes Taifersar Arahesis
2014-12-13 18:37 ` Zac Medico
2014-12-15 14:24   ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox