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-339725-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QF2Su-0003Pv-8H for garchives@archives.gentoo.org; Wed, 27 Apr 2011 10:59:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 829CB1C0BD; Wed, 27 Apr 2011 10:58:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4B3F41C0BA for <gentoo-commits@lists.gentoo.org>; Wed, 27 Apr 2011 10:58:46 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C84B2AC008 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Apr 2011 10:58:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id ADB558050C for <gentoo-commits@lists.gentoo.org>; Wed, 27 Apr 2011 10:58:44 +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: <0cd786b5d016d3b08dc8dbb1843ed04b5ce910a0.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/api.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 0cd786b5d016d3b08dc8dbb1843ed04b5ce910a0 Date: Wed, 27 Apr 2011 10:58:44 +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: 9716d6d7c50b790f9ab509fe286b21a8 commit: 0cd786b5d016d3b08dc8dbb1843ed04b5ce910a0 Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Sun Mar 27 06:37:19 2011 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Sun Mar 27 06:37:19 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3D0cd786b5 fix a missed change in error handling. --- layman/api.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/layman/api.py b/layman/api.py index 9178dbe..11fef62 100644 --- a/layman/api.py +++ b/layman/api.py @@ -421,10 +421,9 @@ class LaymanAPI(object): defaults to stderr. This method may be removed, is here for now due to code taken from the packagekit backend. """ - #msg =3D "Error: %d," % num, message self._error_messages.append(message) if self.report_errors: - print(msg, file=3Dstderr) + print(message, file=3Dstderr) =20 =20 def get_errors(self):