summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Taylor <krtaylor@us.ibm.com>2013-01-09 11:51:42 -0500
committerKurt Taylor <krtaylor@us.ibm.com>2013-01-09 11:51:42 -0500
commitcfc8ffa39c465c21bdf4e03cbdaeb7c72049309c (patch)
treecb4549b50df6ff14094ad0f5f339730879356752
parent8b83990c12e4dc03aa599dd5e68ce91a9cab4eb7 (diff)
downloadnova-cfc8ffa39c465c21bdf4e03cbdaeb7c72049309c.tar.gz
nova-cfc8ffa39c465c21bdf4e03cbdaeb7c72049309c.tar.xz
nova-cfc8ffa39c465c21bdf4e03cbdaeb7c72049309c.zip
Fixed typos in doc strings.
Change-Id: Ibf4bf4ce882077c89d8bb91f93572af7b6cc5da2
-rw-r--r--nova/api/openstack/compute/contrib/flavor_access.py2
-rw-r--r--nova/api/openstack/compute/contrib/flavorextraspecs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/compute/contrib/flavor_access.py b/nova/api/openstack/compute/contrib/flavor_access.py
index 78bedb2e2..1c5006576 100644
--- a/nova/api/openstack/compute/contrib/flavor_access.py
+++ b/nova/api/openstack/compute/contrib/flavor_access.py
@@ -202,7 +202,7 @@ class FlavorActionController(wsgi.Controller):
class Flavor_access(extensions.ExtensionDescriptor):
- """Flavor access supprt."""
+ """Flavor access support."""
name = "FlavorAccess"
alias = "os-flavor-access"
diff --git a/nova/api/openstack/compute/contrib/flavorextraspecs.py b/nova/api/openstack/compute/contrib/flavorextraspecs.py
index 4a27579a2..c8deb7b4c 100644
--- a/nova/api/openstack/compute/contrib/flavorextraspecs.py
+++ b/nova/api/openstack/compute/contrib/flavorextraspecs.py
@@ -51,7 +51,7 @@ class FlavorExtraSpecsController(object):
@wsgi.serializers(xml=ExtraSpecsTemplate)
def index(self, req, flavor_id):
- """Returns the list of extra specs for a givenflavor."""
+ """Returns the list of extra specs for a given flavor."""
context = req.environ['nova.context']
authorize(context)
return self._get_extra_specs(context, flavor_id)