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 2C475138010 for ; Sun, 7 Oct 2012 23:40:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9713CE0453; Sun, 7 Oct 2012 23:40:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F3758E0453 for ; Sun, 7 Oct 2012 23:40:04 +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 2F7DF33C1EF for ; Sun, 7 Oct 2012 23:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A88E8E5436 for ; Sun, 7 Oct 2012 23:40:01 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1349640474.915e3c0865ecee24cb31ead94d573b397ae67c51.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/overlays/ X-VCS-Repository: proj/layman X-VCS-Files: layman/overlays/source.py X-VCS-Directories: layman/overlays/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 915e3c0865ecee24cb31ead94d573b397ae67c51 X-VCS-Branch: master Date: Sun, 7 Oct 2012 23:40:01 +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: 2197c7ab-38fe-4d4e-b90a-699363267900 X-Archives-Hash: 4749479f68ec5c45daae7a5c6f65a7eb commit: 915e3c0865ecee24cb31ead94d573b397ae67c51 Author: Brian Dolbec gentoo org> AuthorDate: Sun Oct 7 20:07:54 2012 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sun Oct 7 20:07:54 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=915e3c08 fix traceback caused by an extra level parameter in the error _output() calls. This caused the errors to not be printed. Bug 390127. --- layman/overlays/source.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layman/overlays/source.py b/layman/overlays/source.py index 843edf4..2b79f2c 100644 --- a/layman/overlays/source.py +++ b/layman/overlays/source.py @@ -34,7 +34,7 @@ def _supported(key, check_supported=None): def _resolve_command(command, _output): if os.path.isabs(command): if not os.path.exists(command): - _output('Program "%s" not found' % command, 6) + _output('Program "%s" not found' % command) return ('File', None) return ('File', command) else: @@ -45,7 +45,7 @@ def _resolve_command(command, _output): if os.path.exists(f): return ('Command', f) _output('Cound not resolve command ' +\ - '"%s" based on PATH "%s"' % (command, env_path), 6) + '"%s" based on PATH "%s"' % (command, env_path)) return ('Command', None) @@ -56,7 +56,7 @@ def require_supported(binaries, _output): if _output: _output(kind + ' ' + command + ' seems to be missing!' ' Overlay type "' + mtype + '" not support' - 'ed. Did you emerge ' + package + '?', 6) + 'ed. Did you emerge ' + package + '?') return False return True