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 AE33A13838B for ; Sat, 20 Sep 2014 17:47:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0456E09CA; Sat, 20 Sep 2014 17:47:09 +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 63547E09CA for ; Sat, 20 Sep 2014 17:47:09 +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 3971833F8F9 for ; Sat, 20 Sep 2014 17:47:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA10612F5 for ; Sat, 20 Sep 2014 17:47:06 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1411235055.d7102ce5476065b309bc40ca76810b16a2c610e6.twitch153@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: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: d7102ce5476065b309bc40ca76810b16a2c610e6 X-VCS-Branch: master Date: Sat, 20 Sep 2014 17:47:06 +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: 3ca7f479-42b1-4ff6-a70b-ed15461fd916 X-Archives-Hash: 62a7cf4bc257a0d1bf7c1fb295eef35b commit: d7102ce5476065b309bc40ca76810b16a2c610e6 Author: Devan Franchini gentoo org> AuthorDate: Fri Sep 19 19:44:45 2014 +0000 Commit: Devan Franchini gentoo org> CommitDate: Sat Sep 20 17:44:15 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=d7102ce5 config.py: Fixes output use in proxies() This patch was supplied by Maxim Odinintsev (gwynn devc.net) to properly use layman's output from it's private _options variable. X-Gentoo-Bug: 523258 X-Gentoo-Bug-URL: https://bugs.gentoo.org/523258 --- layman/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layman/config.py b/layman/config.py index 4fbff5d..3e13899 100644 --- a/layman/config.py +++ b/layman/config.py @@ -294,7 +294,8 @@ class BareConfig(object): elif os.getenv(proxy): proxies[proxy.split('_')[0]] = os.getenv(proxy) if self.config and proxies == {}: - self.output.debug("Warning: unable to determine proxies.", 6) + self._options['output'].debug("Warning: unable to determine prox" + + "ies.", 6) return proxies