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 <gentoo-commits+bounces-374401-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Qv2qp-00038i-Ez for garchives@archives.gentoo.org; Sun, 21 Aug 2011 07:53:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F21CC21C04E; Sun, 21 Aug 2011 07:53:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BDB2721C0A2 for <gentoo-commits@lists.gentoo.org>; Sun, 21 Aug 2011 07:53:39 +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 F32B91B402D for <gentoo-commits@lists.gentoo.org>; Sun, 21 Aug 2011 07:53:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 464EF80040 for <gentoo-commits@lists.gentoo.org>; Sun, 21 Aug 2011 07:53:38 +0000 (UTC) From: "Brian Dolbec" <brian.dolbec@gmail.com> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <brian.dolbec@gmail.com> Message-ID: <623337f3b461c15f22805f1c55c86f911763183f.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/config.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 623337f3b461c15f22805f1c55c86f911763183f Date: Sun, 21 Aug 2011 07:53:38 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d4b38cfae0c27db8bac44f75218765c4 commit: 623337f3b461c15f22805f1c55c86f911763183f Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Sun Aug 21 07:03:25 2011 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Sun Aug 21 07:37:34 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3D623337f3 set some options to the ones passed in that were previously missed. --- layman/config.py | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/layman/config.py b/layman/config.py index 9d212e2..ff4bdd2 100644 --- a/layman/config.py +++ b/layman/config.py @@ -138,12 +138,13 @@ class BareConfig(object): 'stdin': stdin if stdin else sys.stdin, 'stderr': stderr if stderr else sys.stderr, 'output': output if output else Message(), - 'quietness': 4, - 'nocolor': False, - 'width': 0, - 'verbose': False, - 'quiet': False, + 'quietness': quietness, + 'nocolor': nocolor, + 'width': width, + 'verbose': verbose, + 'quiet': quiet, } + self._set_quietness(quietness) self.config =3D None if read_configfile: self.read_config(self.get_defaults())