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 3756E1389E2 for ; Sun, 30 Nov 2014 19:49:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCE6DE0921; Sun, 30 Nov 2014 19:49:49 +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 831FEE0921 for ; Sun, 30 Nov 2014 19:49:49 +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 2CF09340383 for ; Sun, 30 Nov 2014 19:49:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC4EEB3DA for ; Sun, 30 Nov 2014 19:49:46 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <1417376914.269f2f610057266e25304e731631d95cf77322d3.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/unmerge.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 269f2f610057266e25304e731631d95cf77322d3 X-VCS-Branch: master Date: Sun, 30 Nov 2014 19:49:46 +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: c02a2c39-b5b3-4c35-bf62-90405de5d85f X-Archives-Hash: e9bc2c1d6429f764d99f15feee528e46 commit: 269f2f610057266e25304e731631d95cf77322d3 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Sun Nov 30 19:48:34 2014 +0000 Commit: Arfrever Frehtes Taifersar Arahesis apache org> CommitDate: Sun Nov 30 19:48:34 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=269f2f61 Fix TypeError when using `emerge -C` without package name. --- pym/_emerge/unmerge.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py index 03ce0a2..8923e20 100644 --- a/pym/_emerge/unmerge.py +++ b/pym/_emerge/unmerge.py @@ -94,9 +94,8 @@ def _unmerge_display(root_config, myopts, unmerge_action, if not unmerge_files: if unmerge_action in ["rage-clean", "unmerge"]: print() - print(bold("emerge %s") + - " can only be used with specific package names" % - unmerge_action) + print(bold("emerge %s" % unmerge_action) + + " can only be used with specific package names") print() return 1, {} else: