[[[
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
--- 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: signature.asc
Description: This is a digitally signed message part.

Reply via email to