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 944C41381F3 for ; Tue, 18 Jun 2013 14:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3026EE07F4; Tue, 18 Jun 2013 14:59:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDECFE07F4 for ; Tue, 18 Jun 2013 14:59:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D684533DDD8 for ; Tue, 18 Jun 2013 14:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5485AE468F for ; Tue, 18 Jun 2013 14:59:16 +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: <1371567532.488a1881e51c7cec15e4d07d0e00fc1d543e543a.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/RootConfig.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 488a1881e51c7cec15e4d07d0e00fc1d543e543a X-VCS-Branch: master Date: Tue, 18 Jun 2013 14:59:16 +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: ed4a0f1b-56c0-47c8-a16b-b676913f80d4 X-Archives-Hash: 4c736e8753fe949ce8304a55863d4f2a commit: 488a1881e51c7cec15e4d07d0e00fc1d543e543a Author: Zac Medico gentoo org> AuthorDate: Tue Jun 18 14:58:52 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Jun 18 14:58:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=488a1881 RootConfig: mtimedb AttributeError, bug #473710 --- pym/_emerge/RootConfig.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/RootConfig.py b/pym/_emerge/RootConfig.py index 1348570..6b0f8ac 100644 --- a/pym/_emerge/RootConfig.py +++ b/pym/_emerge/RootConfig.py @@ -31,4 +31,8 @@ class RootConfig(object): Shallow copy all attributes from another instance. """ for k in self.__slots__: - setattr(self, k, getattr(other, k)) + try: + setattr(self, k, getattr(other, k)) + except AttributeError: + # mtimedb is currently not a required attribute + pass