Download tasks/codeql_python_benchmark51_v2/pyvul-03252773bde39ba37465/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 630 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_python_benchmark51_v2/pyvul-03252773bde39ba37465/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/codeql_python_benchmark51_v2/pyvul-03252773bde39ba37465/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_python_benchmark51_v2/pyvul-03252773bde39ba37465/patch.diff
630 Bytes
| diff --git a/tenable_jira/cli.py b/tenable_jira/cli.py | |
| index 17bb76b..1f16571 100644 | |
| --- a/tenable_jira/cli.py | |
| +++ b/tenable_jira/cli.py | |
| def cli(configfile, observed_since, setup_only=False, troubleshoot=False): | |
| ''' | |
| # Load the config, but ensure that any additional fields are additive to the | |
| # basic field set. | |
| - config_from_file = yaml.load(configfile, Loader=yaml.Loader) | |
| + config_from_file = yaml.safe_load(configfile) | |
| fields = config_from_file.pop('custom_fields', list()) | |
| config = dict_merge(base_config(), config_from_file) | |
| config['fields'] = config['fields'] + fields | |