commit 5bd767be790f21d6ec0af0589f50137b207d94e8
Author: Pierre Riteau <email address hidden>
Date: Wed May 25 11:04:33 2022 +0200
Fix generation of sample policy files
Generation of sample policy files was broken when exclude_deprecated was
added as an extra argument to the generate_sample function in
I6d02eb4d8f94323a806fab991ba2f1c3bbf71d04. It was passed as the fourth
argument, which is actually include_help. Because it defaults to False,
this turned sample policy files into actual policy files.
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.policy/ +/843250 /opendev. org/openstack/ oslo.policy/ commit/ 5bd767be790f21d 6ec0af0589f5013 7b207d94e8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 5bd767be790f21d 6ec0af0589f5013 7b207d94e8
Author: Pierre Riteau <email address hidden>
Date: Wed May 25 11:04:33 2022 +0200
Fix generation of sample policy files
Generation of sample policy files was broken when exclude_deprecated was 94323a806fab991 ba2f1c3bbf71d04 . It was passed as the fourth
added as an extra argument to the generate_sample function in
I6d02eb4d8f
argument, which is actually include_help. Because it defaults to False,
this turned sample policy files into actual policy files.
Fix by using keyword arguments instead.
Change-Id: I5478b1c8e7fd2f 1b01f6360299819 4bab3683f7c
Closes-Bug: #1975682