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 6D7A41381F3 for ; Tue, 18 Jun 2013 15:48:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA1F6E093A; Tue, 18 Jun 2013 15:48:37 +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 85E46E093A for ; Tue, 18 Jun 2013 15:48:37 +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 9285B33BEC8 for ; Tue, 18 Jun 2013 15:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 08890E468F for ; Tue, 18 Jun 2013 15:48:35 +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: <1371570496.654b4dbb193f6e7e74403764a3c67bce57964288.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: 654b4dbb193f6e7e74403764a3c67bce57964288 X-VCS-Branch: master Date: Tue, 18 Jun 2013 15:48:35 +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: 90d49401-51a0-4b36-a0dc-3af8976d68c6 X-Archives-Hash: 51edef3c03f3a0be7950a1df5f9354dd commit: 654b4dbb193f6e7e74403764a3c67bce57964288 Author: Zac Medico gentoo org> AuthorDate: Tue Jun 18 15:48:16 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Jun 18 15:48:16 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=654b4dbb RootConfig.update: call delattr when appropriate --- pym/_emerge/RootConfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/RootConfig.py b/pym/_emerge/RootConfig.py index 6b0f8ac..3648d01 100644 --- a/pym/_emerge/RootConfig.py +++ b/pym/_emerge/RootConfig.py @@ -35,4 +35,7 @@ class RootConfig(object): setattr(self, k, getattr(other, k)) except AttributeError: # mtimedb is currently not a required attribute - pass + try: + delattr(self, k) + except AttributeError: + pass