Fix local doc builds

Incorrectly named variable in the doc conf file causing errors.

Now that jobs are running under python 3, error with dict_key
sort() no longer being supported.

Change-Id: If93b61a84e6106de7f530e4fa1084a473b413629
This commit is contained in:
Sean McGinnis 2018-06-21 07:13:17 -05:00
parent c4ea8ba82b
commit 4d8f98b421
2 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ _config_generator_config_files = [
]
def _get_config_generator_config_definition(config_file):
def _get_config_generator_config_definition(conf):
config_file_path = '../../etc/oslo-config-generator/%s' % conf
# oslo_config.sphinxconfiggen appends '.conf.sample' to the filename,
# strip file extentension (.conf or .ini).

View File

@ -284,7 +284,7 @@ class SupportMatrixDirective(rst.Directive):
# then one column for each backend driver
impls = matrix.targets.keys()
impls.sort()
impls = sorted(impls)
for key in impls:
target = matrix.targets[key]
implcol = nodes.entry()
@ -324,7 +324,7 @@ class SupportMatrixDirective(rst.Directive):
# and then one column for each backend driver
impls = matrix.targets.keys()
impls.sort()
impls = sorted(impls)
for key in impls:
target = matrix.targets[key]
impl = feature.implementations[key]