| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Nova has some default configuration option (bindir) value that uses
sys.prefix as path start. That can generates weird paths depending on
the system where you run the configuration generator.
This patch fixes that by hardcoding a replacement of sys.prefix to /usr,
which is what's actually expected most of the time.
Change-Id: Ied3b58695965a3102670e3761701fbe10ac74785
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
|
| |
When there is no help available for an option, the generator.py
simply crashes. This fixes this by initialising opt_help.
Fixes Bug1194524
Change-Id: I94c23973bdad603703f12e936b7e72fe0e81c3f0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the default values for hostnames and paths.
Change-Id: I434a4f0269e2d0a3a667056233078ff01d0cdb72
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|/
|
|
|
|
|
|
| |
Per (proposed) Hacking H203 check, always use the
except x as y: construct, which works with any
Python version >= 2.6, including Python 3.x.
Change-Id: I46028647d5a2a53ba8e9ce4d2e8fc6e71850fdae
|
|
This is stolen from Nova with a fix stolen from
https://review.openstack.org/#/c/30251/
Obviously the final goal is to stop copying this file into each project and
start improving it, to move it finally in oslo.config.
Change-Id: Ie81a5c3db1dc6092bcc6179ab0ab9499239f0bbc
Signed-off-by: Julien Danjou <julien@danjou.info>
|