From 837b2df8909f10a38e6ddf30fc14e5dc3f70cb84 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Sat, 9 Mar 2013 01:22:51 -0800 Subject: [PATCH] Correct some typos in docstrings in cfg.py. Change-Id: I3c56596cf0154c342e0a0aa0e60e9111519f3554 --- oslo/config/cfg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo/config/cfg.py b/oslo/config/cfg.py index f5540a32..72140251 100644 --- a/oslo/config/cfg.py +++ b/oslo/config/cfg.py @@ -1238,7 +1238,7 @@ class ConfigOpts(collections.Mapping): :param opt: an instance of an Opt sub-class :param cli: whether this is a CLI option :param group: an optional OptGroup object or group name - :return: False if the opt was already register, True otherwise + :return: False if the opt was already registered, True otherwise :raises: DuplicateOptError """ if group is not None: @@ -1264,11 +1264,11 @@ class ConfigOpts(collections.Mapping): CLI option schemas must be registered before the command line and config files are parsed. This is to ensure that all CLI options are - show in --help and option validation works as expected. + shown in --help and option validation works as expected. :param opt: an instance of an Opt sub-class :param group: an optional OptGroup object or group name - :return: False if the opt was already register, True otherwise + :return: False if the opt was already registered, True otherwise :raises: DuplicateOptError, ArgsAlreadyParsedError """ if self._args is not None: