Remove scanning upgrade checker from opts generation

The upgrade checker is going to need to be able to load
configuration settings to check for things that will
interfere with an upgrade.  This will cause genopts
to incorrectly think an entry needs to be added in
cinder/opts.py .  This change add status.py to the
exception list.

Change-Id: Iab71497b5e9405429976b385dde2f6b7d585abae
This commit is contained in:
Jay S. Bryant 2019-04-02 21:49:13 -05:00
parent 1dec92ed8f
commit b56dc7e152
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ if __name__ == "__main__":
if atree in ["tools/config/generate_cinder_opts.py",
"cinder/hacking/checks.py",
"cinder/volume/configuration.py",
"cinder/test.py"]:
"cinder/test.py",
"cinder/cmd/status.py"]:
continue
dirs_list = atree.split('/')