summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorMatt Joyce <matt.joyce@cloudscaling.com>2012-05-29 12:04:03 -0700
committerMatt Joyce <matt.joyce@cloudscaling.com>2012-05-29 13:01:57 -0700
commitd5cc5fd2f023e5d7095476282159027dce957cb3 (patch)
tree1b3c08c1981384379d6df3c685d140932de614cb /nova/openstack
parent1bbf44fa67412040246b93b15cab18e715a0be07 (diff)
downloadnova-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.py4
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.