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 1Qvxkl-0004b7-5P for garchives@archives.gentoo.org; Tue, 23 Aug 2011 20:39:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6537F21C2C6; Tue, 23 Aug 2011 20:39:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2D5AD21C2C6 for ; Tue, 23 Aug 2011 20:39:06 +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 9AD8A1B4018 for ; Tue, 23 Aug 2011 20:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 94DD880040 for ; Tue, 23 Aug 2011 20:39:04 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <270c368605f44c4777ac6cb66a6a616e12914708.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoopm:master commit in: gentoopm/ X-VCS-Repository: proj/gentoopm X-VCS-Files: gentoopm/querycli.py X-VCS-Directories: gentoopm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 270c368605f44c4777ac6cb66a6a616e12914708 Date: Tue, 23 Aug 2011 20:39:04 +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: a361dceb2d4f7b0ec5c8433265167699 commit: 270c368605f44c4777ac6cb66a6a616e12914708 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Tue Aug 23 20:40:28 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Tue Aug 23 20:40:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoopm.git;= a=3Dcommit;h=3D270c3686 Fix 'repositories' command to output to stdout. --- gentoopm/querycli.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gentoopm/querycli.py b/gentoopm/querycli.py index e5813f4..86f21b4 100644 --- a/gentoopm/querycli.py +++ b/gentoopm/querycli.py @@ -88,7 +88,7 @@ class PMQueryCommands(object): Print the list of ebuild repositories. """ def __call__(self, pm, args): - return ' '.join([r.name for r in pm.repositories]) + print(' '.join([r.name for r in pm.repositories])) =20 class repo_path(PMQueryCommand): """