commit: accf36f00070427170a4b46b2e3522de7b33d5b0 Author: cvkbtzx <cvkbtzx <AT> users <DOT> noreply <DOT> github <DOT> com> AuthorDate: Wed Sep 26 23:05:33 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> 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 <zmedico <AT> 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
