diff --git a/keystoneclient/service_catalog.py b/keystoneclient/service_catalog.py index 3018e346c..7fdf856cb 100644 --- a/keystoneclient/service_catalog.py +++ b/keystoneclient/service_catalog.py @@ -205,7 +205,7 @@ class ServiceCatalog(object): :param string endpoint_type: Type of endpoint. :param string region_name: Region of the endpoint. :param string service_name: The assigned name of the service. - : + """ if not self.get_data(): raise exceptions.EmptyCatalog('The service catalog is empty.') diff --git a/keystoneclient/v3/contrib/trusts.py b/keystoneclient/v3/contrib/trusts.py index a59cef979..9336b1e0a 100644 --- a/keystoneclient/v3/contrib/trusts.py +++ b/keystoneclient/v3/contrib/trusts.py @@ -39,6 +39,7 @@ class TrustManager(base.CrudManager): project=None, impersonation=False, expires_at=None, remaining_uses=None, **kwargs): """Create a Trust. + :param string trustee_user: user who is capable of consuming the trust :param string trustor_user: user who's authorization is being delegated :param string role_names: subset of trustor's roles to be granted @@ -48,6 +49,7 @@ class TrustManager(base.CrudManager): :param integer remaining_uses: how many times this trust can be used to generate a token. None means unlimited tokens. + """ # Convert role_names list into list-of-dict API format if role_names: