This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch valentindavid/flatpak-demo in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit f3ed208a651a5925bafc010d313b15a046f9c497 Author: Valentin David <[email protected]> AuthorDate: Wed Jun 27 16:57:13 2018 +0200 buildstream/_options/optionpool.py: Fix paramaters of OptionPool.load_cli_values --- buildstream/_options/optionpool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildstream/_options/optionpool.py b/buildstream/_options/optionpool.py index 83a202f..b53e87a 100644 --- a/buildstream/_options/optionpool.py +++ b/buildstream/_options/optionpool.py @@ -107,8 +107,9 @@ class OptionPool(): # # Args: # cli_options (list): A list of (str, str) tuples + # ignore_unknown (bool): Whether to silently ignore unknown options. # - def load_cli_values(self, cli_options, ignore_unknown=False): + def load_cli_values(self, cli_options, *, ignore_unknown=False): for option_name, option_value in cli_options: try: option = self._options[option_name]
