diff options
| author | Matt Joyce <matt.joyce@cloudscaling.com> | 2012-05-29 12:04:03 -0700 |
|---|---|---|
| committer | Matt Joyce <matt.joyce@cloudscaling.com> | 2012-05-29 13:01:57 -0700 |
| commit | d5cc5fd2f023e5d7095476282159027dce957cb3 (patch) | |
| tree | 1b3c08c1981384379d6df3c685d140932de614cb /nova/openstack | |
| parent | 1bbf44fa67412040246b93b15cab18e715a0be07 (diff) | |
| download | nova-d5cc5fd2f023e5d7095476282159027dce957cb3.tar.gz nova-d5cc5fd2f023e5d7095476282159027dce957cb3.tar.xz nova-d5cc5fd2f023e5d7095476282159027dce957cb3.zip | |
Grammar fixes.
Change-Id: Iff3f5765193e0bc98dfc377ee5a9b6f47ae11859
Diffstat (limited to 'nova/openstack')
| -rw-r--r-- | nova/openstack/common/cfg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/openstack/common/cfg.py b/nova/openstack/common/cfg.py index f45136f76..2a2d2bae4 100644 --- a/nova/openstack/common/cfg.py +++ b/nova/openstack/common/cfg.py @@ -655,7 +655,7 @@ class IntOpt(Opt): """Int opt values are converted to integers using the int() builtin.""" def _get_from_config_parser(self, cparser, section): - """Retrieve the opt value as a integer from ConfigParser.""" + """Retrieve the opt value as an integer from ConfigParser.""" return [int(v) for v in cparser.get(section, self.dest)] def _get_optparse_kwargs(self, group, **kwargs): @@ -1289,7 +1289,7 @@ class ConfigOpts(collections.Mapping): return value def _get_group(self, group_or_name, autocreate=False): - """Looks up a OptGroup object. + """Looks up an OptGroup object. Helper function to return an OptGroup given a parameter which can either be the group's name or an OptGroup object. |
