diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-06-03 16:19:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-06-03 16:19:10 +0000 |
commit | 4b90bc5c314fa52ece212451fbfec7ba7eced3b1 (patch) | |
tree | 785a0f9a031b3da490d1ae2351a4bf561be8fa2a /keystoneclient/v2_0 | |
parent | 795d253d4ae5d9fdf4aea8ba03e2b73a24ded2a7 (diff) | |
parent | 6f27af4a0cdbde42b1566ecabaf667c26b089dc3 (diff) | |
download | python-keystoneclient-0.2.5.tar.gz |
Merge "Fix unused imports(flake8 F401, F999)"0.2.5
Diffstat (limited to 'keystoneclient/v2_0')
-rw-r--r-- | keystoneclient/v2_0/__init__.py | 1 | ||||
-rw-r--r-- | keystoneclient/v2_0/client.py | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/keystoneclient/v2_0/__init__.py b/keystoneclient/v2_0/__init__.py index 44ad28e..00ff0c1 100644 --- a/keystoneclient/v2_0/__init__.py +++ b/keystoneclient/v2_0/__init__.py @@ -1 +1,2 @@ +# flake8: noqa from keystoneclient.v2_0.client import Client diff --git a/keystoneclient/v2_0/client.py b/keystoneclient/v2_0/client.py index 03cb8f2..788bfa7 100644 --- a/keystoneclient/v2_0/client.py +++ b/keystoneclient/v2_0/client.py @@ -80,9 +80,9 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(username=USER, - password=PASS, - tenant_name=TENANT_NAME, - auth_url=KEYSTONE_URL) + ... password=PASS, + ... tenant_name=TENANT_NAME, + ... auth_url=KEYSTONE_URL) >>> keystone.tenants.list() ... >>> user = keystone.users.get(USER_ID) @@ -95,9 +95,9 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(username=USER, - password=PASS, - tenant_name=TENANT_NAME, - auth_url=KEYSTONE_URL) + ... password=PASS, + ... tenant_name=TENANT_NAME, + ... auth_url=KEYSTONE_URL) >>> auth_ref = keystone.auth_ref >>> # pickle or whatever you like here >>> new_client = client.Client(auth_ref=auth_ref) @@ -111,8 +111,8 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> admin_client = client.Client( - token='12345secret7890', - endpoint='http://localhost:35357/v2.0') + ... token='12345secret7890', + ... endpoint='http://localhost:35357/v2.0') >>> keystone.tenants.list() """ |