From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B770C1389E2 for ; Sat, 13 Dec 2014 16:59:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C64A9E0AD3; Sat, 13 Dec 2014 16:59:37 +0000 (UTC) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27F96E0ABF for ; Sat, 13 Dec 2014 16:59:37 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id b13so11390378wgh.32 for ; Sat, 13 Dec 2014 08:59:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=FXDeG8vkhGtbXeDmMgWOCYbRgPLPu06bDXKp0hpiPdU=; b=fjYMqAR1/mRNkGCMxvRkxcZBNQFaPq6O7yYe76sSd3sBCkW/2HxItaFHvZTKRHqfuO R/7kvhnGTrCp5OiU7rL+D7kev0JSZ8MLNjqfaSspmZ17t83hopk0+OIOl7vMSQCDdgvK ad66oUN7UHWKqT+d3yv1UPUp/mlyUePt7a58bBPAX/aGG2xR85TQQAgmtOs9LtZEGs3G cNenm6E4FeRrwDyC22lwqiVO7cpAP4QYIgPQe7qUoU7Qf/5hFRHd6a7j3pQqDUtrBFNy iN7nqPlmTtOVdYUAqZNza6vhzvEHFmRRIEdHylVWfoVZfTHBBPZB6LHG58zz/bfg2tqp P8cw== X-Received: by 10.194.200.1 with SMTP id jo1mr38452148wjc.64.1418489976079; Sat, 13 Dec 2014 08:59:36 -0800 (PST) Received: from afta-picea.localnet (host-94-251-141-202.dynamic.mm.pl. [94.251.141.202]) by mx.google.com with ESMTPSA id d5sm6147461wjb.34.2014.12.13.08.59.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Dec 2014 08:59:35 -0800 (PST) From: Arfrever Frehtes Taifersar Arahesis X-Google-Original-From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Portage Development Subject: [gentoo-portage-dev] [PATCH] portage.tests.glsa.test_security_set: Delete deprecated code Date: Sat, 13 Dec 2014 17:59:17 +0100 User-Agent: KMail (GNU/Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5376442.OMOkem6oI7"; protocol="application/pgp-signature"; micalg=pgp-sha512 Content-Transfer-Encoding: 7bit Message-Id: <201412131759.18733.Arfrever.FTA@gmail.com> X-Archives-Salt: b60748fb-b792-49f0-a50f-221fe273775d X-Archives-Hash: c6a0675f1f17570ecd4ea6c79cd95dca --nextPart5376442.OMOkem6oI7 Content-Type: multipart/mixed; boundary="Boundary-01=_mBHjUd3obmpkK7d" Content-Transfer-Encoding: 7bit --Boundary-01=_mBHjUd3obmpkK7d Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline [[[ 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 --Boundary-01=_mBHjUd3obmpkK7d Content-Type: text/x-patch; charset="utf-8"; name="portage.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="portage.patch" =2D-- pym/portage/tests/glsa/test_security_set.py +++ pym/portage/tests/glsa/test_security_set.py @@ -1,4 +1,4 @@ =2D# Copyright 2013 Gentoo Foundation +# Copyright 2013-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 from __future__ import unicode_literals @@ -129,8 +129,7 @@ try: =20 portdb =3D playground.trees[playground.eroot]["porttree"].dbapi =2D glsa_dir =3D os.path.join( =2D portdb.repositories.mainRepoLocation(), 'metadata', 'glsa') + glsa_dir =3D os.path.join(portdb.repositories['test_repo'].location, 'm= etadata', 'glsa') portage.util.ensure_dirs(glsa_dir) for glsa in glsas: with io.open(os.path.join(glsa_dir, --Boundary-01=_mBHjUd3obmpkK7d-- --nextPart5376442.OMOkem6oI7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJUjHBmAAoJEHgbAhhyXND8fgEQAJITSHcjLkvLHi3SC8l4c+Ex tsSc12a6swPlS8Wadv+4slkrnTphYhyTgZHTu+3B3tks7rZ+u6uPP359u4x+foTe iNU52fK64zXfBfFzMRnvLjmgk2TepJWKKY8NrmpFtFwinfnGBZUAo1F2Ng5EiaxO JI4jKdbsmFcDn4yRTMdCNZpYTmBc2lO0QPE0Z2M2G7fMjd9aNQqCe/Tcfblunn3O 02ySdqXiPmu2gKRiBr1CHIv8QFnQaOcjtIljIK/4GqOCpj0qmVla7ipvvZokaYsb aVJItoPrYI4xmdCmIYddEGqLFzWBJt9DwLJx+3Er+DkAWJPHxwvDdFKglqMOBp3Q mVmZ24v6U0yDjGR/KRnq3pX26Kqb2tGxflwx0c3+CtcE92ZMEmjP/vbUE/9bA4Rd /63iMUaosVNO8+VfRbtrkuXHsXUooaqVT8cX3Eea2VKVVsmyWH8OfYxlMkqLfaUX gtCscsT314MTjA5apGW2veSRl+0V1W7xZPsOtcWd45abaXmgrkCMb4sWHcz/MpOm xqkKd8I3yzyP+Yt+myItRjfsBScTK+QYC8WCKa+Kr7vd0POnI7JLxPDJyKtIHmX3 zi37SdOD0RWMPEMKmrSQNSvZcE0Nrrvy6Vqt7224QPa0FnkbdHaLY4YHMN0Wrwwi q2MyMyUpv3MWUgGDcj7b =Nsp9 -----END PGP SIGNATURE----- --nextPart5376442.OMOkem6oI7--