Update git submodules

* Update oslo.policy from branch 'master'
  - Don't parse cli args on the global object in sphinxpolicygen
    
    sphinxpolicygen is calling the generate_sample cli entrypoint when
    we aren't actually the command being run. This can cause problems
    if the consuming project has cli args that get registered on import
    of their modules because we may have parsed args before those modules
    get imported. This results in an exception because oslo.config won't
    allow cli args to be registered after they've been parsed once.
    
    This change makes use of the existing parameter to generate_sample
    that allows us to pass in a local config object on which to register
    the cli args. This way we can parse them without affecting the
    global config object.
    
    This was the only place I could find that we were doing something
    like this so I believe it should eliminate the problem.
    
    Change-Id: I8e9f28b0a15d1ed092d72b983be74fe281708fbe
This commit is contained in:
Ben Nemec 2020-03-20 16:04:05 +00:00 committed by Gerrit Code Review
parent 2ef5ca1754
commit b9829d75b7
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit c3868371212597069e4614d9ae05fe7cd0358ca1
Subproject commit a0d99e1046f99607609f5b0e75942f90e85946ad