Comment 2 for bug 1975682

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.policy (master)

Reviewed: https://review.opendev.org/c/openstack/oslo.policy/+/843250
Committed: https://opendev.org/openstack/oslo.policy/commit/5bd767be790f21d6ec0af0589f50137b207d94e8
Submitter: "Zuul (22348)"
Branch: master

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.

    Fix by using keyword arguments instead.

    Change-Id: I5478b1c8e7fd2f1b01f63602998194bab3683f7c
    Closes-Bug: #1975682