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 AC8C21387FD for ; Thu, 27 Mar 2014 06:59:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46825E0A90; Thu, 27 Mar 2014 06:59:32 +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 DC17FE0A90 for ; Thu, 27 Mar 2014 06:59:31 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1778933F900 for ; Thu, 27 Mar 2014 06:59:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id C828F188EF for ; Thu, 27 Mar 2014 06:59:29 +0000 (UTC) From: "Slawek Lis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slawek Lis" Message-ID: <1395903411.1f200fb1812faf22c048c83b17a7c27257b301c4.slis@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/settings.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: slis X-VCS-Committer-Name: Slawek Lis X-VCS-Revision: 1f200fb1812faf22c048c83b17a7c27257b301c4 X-VCS-Branch: gentoolkit Date: Thu, 27 Mar 2014 06:59:29 +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: 4ec02062-965f-41dd-bbfe-f59484f22105 X-Archives-Hash: 68649072a1fdf23c43624d3858492093 commit: 1f200fb1812faf22c048c83b17a7c27257b301c4 Author: Slawek Lis gentoo org> AuthorDate: Thu Mar 27 06:56:51 2014 +0000 Commit: Slawek Lis gentoo org> CommitDate: Thu Mar 27 06:56:51 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=1f200fb1 Fixed bug when no libraries are passed --- pym/gentoolkit/revdep_rebuild/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py index 4774cec..cadd5f2 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -114,7 +114,8 @@ def parse_options(): settings['quiet'] = args.quiet settings['PRETEND'] = args.pretend settings['nocolor'] = args.nocolor - settings['library'].update(set(args.library)) + if args.library: + settings['library'].update(set(args.library)) settings['USE_TMP_FILES'] = not args.ignore settings['pass_through_options'] = " " + " ".join(args.portage_options)