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 C86CF1384B4 for ; Mon, 28 Dec 2015 00:54:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D73CE07D2; Mon, 28 Dec 2015 00:54:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D53A5E07D2 for ; Mon, 28 Dec 2015 00:54:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2D1434072E for ; Mon, 28 Dec 2015 00:54:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33326CB0 for ; Mon, 28 Dec 2015 00:54:20 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1451263824.022f0ba6fb75aba80d801772b4e622d44db2d668.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/elog/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/elog/mod_save.py X-VCS-Directories: pym/portage/elog/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 022f0ba6fb75aba80d801772b4e622d44db2d668 X-VCS-Branch: master Date: Mon, 28 Dec 2015 00:54:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7a229b31-f55e-4675-8c27-d7150d63321b X-Archives-Hash: 1424b1dc8cc31aa3b141c8cd5034bbd0 commit: 022f0ba6fb75aba80d801772b4e622d44db2d668 Author: Zac Medico gentoo org> AuthorDate: Mon Dec 28 00:50:12 2015 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Dec 28 00:50:24 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=022f0ba6 elog/mod_save: fix CATEGORY KeyError (bug 569942) Fixes: 39d81c514c33 ("[...]config.__getitem__(): Partially drop backward compatibility for nonexistent keys.") X-Gentoo-Bug: 569942 X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=569942 pym/portage/elog/mod_save.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage/elog/mod_save.py b/pym/portage/elog/mod_save.py index 7b1cd46..829ec6c 100644 --- a/pym/portage/elog/mod_save.py +++ b/pym/portage/elog/mod_save.py @@ -33,8 +33,7 @@ def process(mysettings, key, logentries, fulltext): uid = portage_uid ensure_dirs(logdir, uid=uid, gid=portage_gid, mode=0o2770) - cat = mysettings['CATEGORY'] - pf = mysettings['PF'] + cat, pf = portage.catsplit(key) elogfilename = pf + ":" + _unicode_decode( time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time())),