diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2013-04-04 19:12:03 -0500 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2013-04-08 15:58:59 -0500 |
commit | f846e2898d13a879e0ed27570a1b9d19549cd743 (patch) | |
tree | d53ebf65620d09a18b0124fdd4d4b2e596c9366b /keystone/identity | |
parent | 89d35004411e1eec9b1af97f589f06ae871aca02 (diff) | |
download | keystone-f846e2898d13a879e0ed27570a1b9d19549cd743.tar.gz keystone-f846e2898d13a879e0ed27570a1b9d19549cd743.tar.xz keystone-f846e2898d13a879e0ed27570a1b9d19549cd743.zip |
Clean up duplicate methods
The identity.core.Driver class had a few function definitions
with the same name. Remove duplicates because it's confusing.
Change-Id: I9e4ca8939414091acc0c0eedaf64960a2fb9dad3
Diffstat (limited to 'keystone/identity')
-rw-r--r-- | keystone/identity/core.py | 39 |
1 files changed, 2 insertions, 37 deletions
diff --git a/keystone/identity/core.py b/keystone/identity/core.py index ec5410e9..2231b4a7 100644 --- a/keystone/identity/core.py +++ b/keystone/identity/core.py @@ -95,15 +95,6 @@ class Driver(object): """ raise exception.NotImplemented() - def get_project(self, tenant_id): - """Get a tenant by id. - - :returns: tenant_ref - :raises: keystone.exception.ProjectNotFound - - """ - raise exception.NotImplemented() - def get_project_by_name(self, tenant_name, domain_id): """Get a tenant by name. @@ -231,32 +222,6 @@ class Driver(object): """ raise exception.NotImplemented() - # tenant crud - def create_project(self, tenant_id, tenant): - """Creates a new tenant. - - :raises: keystone.exception.Conflict - - """ - raise exception.NotImplemented() - - def update_project(self, tenant_id, tenant): - """Updates an existing tenant. - - :raises: keystone.exception.ProjectNotFound, - keystone.exception.Conflict - - """ - raise exception.NotImplemented() - - def delete_project(self, tenant_id): - """Deletes an existing tenant. - - :raises: keystone.exception.ProjectNotFound - - """ - raise exception.NotImplemented() - # metadata crud def get_metadata(self, user_id=None, tenant_id=None, domain_id=None, group_id=None): @@ -363,10 +328,10 @@ class Driver(object): """ raise exception.NotImplemented() - def get_project(self): + def get_project(self, project_id): """Get a project by ID. - :returns: user_ref + :returns: project_ref :raises: keystone.exception.ProjectNotFound """ |