From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A2D9138335 for ; Mon, 19 Aug 2019 03:41:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17EF8E0882; Mon, 19 Aug 2019 03:41:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB548E0880 for ; Mon, 19 Aug 2019 03:41:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36D93349DEB for ; Mon, 19 Aug 2019 03:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7D9E6FF for ; Mon, 19 Aug 2019 03:41:20 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1566186028.accf36f00070427170a4b46b2e3522de7b33d5b0.zmedico@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master 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: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: accf36f00070427170a4b46b2e3522de7b33d5b0 X-VCS-Branch: master Date: Mon, 19 Aug 2019 03:41:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23ea68ae-78a4-406f-93d6-cadef9c0ba52 X-Archives-Hash: 4a952f2ebc297e122b1e40cfab77bba0 commit: accf36f00070427170a4b46b2e3522de7b33d5b0 Author: cvkbtzx users noreply github com> AuthorDate: Wed Sep 26 23:05:33 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Aug 19 03:40:28 2019 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=accf36f0 revdep-rebuild: Fix DEFAULTS beeing modified when changing settings Closes: https://github.com/gentoo/gentoolkit/pull/4 Signed-off-by: Zac Medico gentoo.org> pym/gentoolkit/revdep_rebuild/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py index b0a9f61..7438594 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -119,9 +119,9 @@ def parse_options(): settings['PRETEND'] = args.pretend settings['nocolor'] = args.nocolor if args.library: - settings['library'].update(set(args.library)) + settings['library'] = set(settings['library']) | set(args.library) settings['USE_TMP_FILES'] = not args.ignore - settings['pass_through_options'].extend(args.portage_options) + settings['pass_through_options'] = list(settings['pass_through_options']) + args.portage_options return settings