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
(cherry picked from commit b56dc7e152)
This commit is contained in:
Jay S. Bryant 2019-04-02 21:49:13 -05:00 committed by Jay Bryant
parent 46363697d9
commit 5ee13d14e8

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('/')