oslo.policy/oslo_policy
Pierre Riteau 5bd767be79 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
2022-05-25 11:04:33 +02:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-08-09 07:19:45 +00:00
tests Only pass exclude-deprecated when True 2022-04-28 15:27:31 +05:30
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Correctly handle IO errors at policy file load 2021-02-09 14:32:07 +00:00
_checks.py Add scope_types attribute to the BaseCheck class 2021-10-05 11:19:50 +02:00
_external.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
_parser.py Remove all usage of six library 2020-10-06 15:56:50 +08:00
fixture.py Update hacking version 2019-02-13 14:33:45 +08:00
generator.py Fix generation of sample policy files 2022-05-25 11:04:33 +02:00
opts.py Expand set_defaults() to set other config default value 2022-02-08 08:56:41 -06:00
policy.py Don't raise InvalidScope exception when do_raise=False 2022-03-17 20:38:32 +01:00
shell.py Ussuri+ is python3 only and update python to python3 2021-05-06 09:44:03 +08:00
sphinxext.py Mark sphinx extensions thread safe 2020-04-13 08:58:54 -05:00
sphinxpolicygen.py Only pass exclude-deprecated when True 2022-04-28 15:27:31 +05:30
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00