From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R7LOP-0006da-JQ for garchives@archives.gentoo.org; Sat, 24 Sep 2011 06:07:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C83521C035; Sat, 24 Sep 2011 06:07:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E7EC021C035 for ; Sat, 24 Sep 2011 06:07:08 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40A511B4009 for ; Sat, 24 Sep 2011 06:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8861680042 for ; Sat, 24 Sep 2011 06:07:07 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <658f794a3a7675bba9d746d1a17ee0e0a95ee400.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/dbbase.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 658f794a3a7675bba9d746d1a17ee0e0a95ee400 Date: Sat, 24 Sep 2011 06:07:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 41f693d041261cd85408a689e84996e6 commit: 658f794a3a7675bba9d746d1a17ee0e0a95ee400 Author: dol-sen gmail com> AuthorDate: Mon Sep 19 04:31:33 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Mon Sep 19 04:31:33 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3D658f794a fix unknown variable --- layman/dbbase.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/layman/dbbase.py b/layman/dbbase.py index a31ced9..ccd5806 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -86,6 +86,7 @@ class DbBase(object): self.paths =3D paths self.ignore =3D ignore self.output =3D config['output'] + self.ignore_init_read_errors =3D ignore_init_read_errors =20 self.overlays =3D {} =20 @@ -116,7 +117,7 @@ class DbBase(object): document =3D open(path, 'r').read() =20 except Exception, error: - if not ignore_init_read_errors: + if not self.ignore_init_read_errors: self.output.error('Failed to read the overlay list at ("= ' + path + '")') raise error