diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-30 14:16:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-30 14:16:41 +0000 |
commit | 434383bbc14cc59289cc9dac98de4294a7e8b138 (patch) | |
tree | 45fe546a11a03c5ee7c9f22239bb2bc6a5f635c6 | |
parent | afab1f52661be27bcc61f3f516731e523ff9ef49 (diff) | |
parent | 2d6fe57413f16e005b95648af9cb1ad85bda3a3a (diff) | |
download | oslo-config-434383bbc14cc59289cc9dac98de4294a7e8b138.tar.gz |
Merge "Fix flaws in methods' docstring"
-rw-r--r-- | oslo/config/cfg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo/config/cfg.py b/oslo/config/cfg.py index 3d58834..8c6d749 100644 --- a/oslo/config/cfg.py +++ b/oslo/config/cfg.py @@ -714,7 +714,7 @@ class Opt(object): :param short: the short opt name :param kwargs: the keyword arguments for add_argument() :param prefix: an optional prefix to prepend to the opt name - :param position: whether the optional is a positional CLI argument + :param positional: whether the option is a positional CLI argument """ def hyphen(arg): return arg if not positional else '' @@ -1935,7 +1935,7 @@ class ConfigOpts(collections.Mapping): searched by the module level find_config_files() function is used. The first matching file is returned. - :param basename: the filename, e.g. 'policy.json' + :param name: the filename, e.g. 'policy.json' :returns: the path to a matching file, or None """ dirs = [] |