summaryrefslogtreecommitdiffstats
path: root/keystone
diff options
context:
space:
mode:
authortermie <github@anarkystic.com>2012-01-23 17:22:10 -0800
committertermie <github@anarkystic.com>2012-01-23 17:22:10 -0800
commitaaf75e9bb0f8a4d19ffb1bac39a737982ca8e6bf (patch)
tree4bb2d3ee65ebcd7f5ee9ed1d59adfb0855bb988d /keystone
parente4a00e05e93094f7b7f9ff8dbac374c56669ffc6 (diff)
fix pep8
Diffstat (limited to 'keystone')
-rw-r--r--keystone/contrib/ec2/core.py8
-rw-r--r--keystone/identity/backends/kvs.py1
2 files changed, 5 insertions, 4 deletions
diff --git a/keystone/contrib/ec2/core.py b/keystone/contrib/ec2/core.py
index b7d8c518..fab5f389 100644
--- a/keystone/contrib/ec2/core.py
+++ b/keystone/contrib/ec2/core.py
@@ -3,7 +3,7 @@
"""Main entry point into the EC2 Credentials service.
This service allows the creation of access/secret credentials used for
-the ec2 interop layer of OpenStack.
+the ec2 interop layer of OpenStack.
A user can create as many access/secret pairs, each of which map to a
specific tenant. This is required because OpenStack supports a user
@@ -15,8 +15,8 @@ To complete the cycle, we provide a method that OpenStack services can
use to validate a signature and get a corresponding openstack token. This
token allows method calls to other services within the context the
access/secret was created. As an example, nova requests keystone to validate
-the signature of a request, receives a token, and then makes a request to glance
-to list images needed to perform the requested task.
+the signature of a request, receives a token, and then makes a request to
+glance to list images needed to perform the requested task.
"""
@@ -95,7 +95,7 @@ class Ec2Controller(wsgi.Application):
all the other details returned from a normal token validation
call.
- The returned token is useful for making calls to other
+ The returned token is useful for making calls to other
OpenStack services within the context of the request.
:param context: standard context
diff --git a/keystone/identity/backends/kvs.py b/keystone/identity/backends/kvs.py
index 687aba31..26209355 100644
--- a/keystone/identity/backends/kvs.py
+++ b/keystone/identity/backends/kvs.py
@@ -11,6 +11,7 @@ def _filter_user(user_ref):
user_ref.pop('tenants', None)
return user_ref
+
class Identity(kvs.Base, identity.Driver):
# Public interface
def authenticate(self, user_id=None, tenant_id=None, password=None):