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:
@@ -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
|
config_file_path = '../../etc/oslo-config-generator/%s' % conf
|
||||||
# oslo_config.sphinxconfiggen appends '.conf.sample' to the filename,
|
# oslo_config.sphinxconfiggen appends '.conf.sample' to the filename,
|
||||||
# strip file extentension (.conf or .ini).
|
# strip file extentension (.conf or .ini).
|
||||||
|
@@ -284,7 +284,7 @@ class SupportMatrixDirective(rst.Directive):
|
|||||||
|
|
||||||
# then one column for each backend driver
|
# then one column for each backend driver
|
||||||
impls = matrix.targets.keys()
|
impls = matrix.targets.keys()
|
||||||
impls.sort()
|
impls = sorted(impls)
|
||||||
for key in impls:
|
for key in impls:
|
||||||
target = matrix.targets[key]
|
target = matrix.targets[key]
|
||||||
implcol = nodes.entry()
|
implcol = nodes.entry()
|
||||||
@@ -324,7 +324,7 @@ class SupportMatrixDirective(rst.Directive):
|
|||||||
|
|
||||||
# and then one column for each backend driver
|
# and then one column for each backend driver
|
||||||
impls = matrix.targets.keys()
|
impls = matrix.targets.keys()
|
||||||
impls.sort()
|
impls = sorted(impls)
|
||||||
for key in impls:
|
for key in impls:
|
||||||
target = matrix.targets[key]
|
target = matrix.targets[key]
|
||||||
impl = feature.implementations[key]
|
impl = feature.implementations[key]
|
||||||
|
Reference in New Issue
Block a user