Browse Source

Merge "Allow plugins to return config options as list of tuples"

tags/2.0.0
Zuul Gerrit Code Review 8 months ago
parent
commit
6dea050274
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      rally/common/opts.py

+ 5
- 1
rally/common/opts.py View File

@@ -56,7 +56,11 @@ def register_options_from_path(path):
return

options = list_func()
register_opts(options.items())

if isinstance(options, dict):
options = options.items()

register_opts(options)
_registered_paths.append(path)




Loading…
Cancel
Save