diff options
author | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-01-13 11:30:10 +0530 |
---|---|---|
committer | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-01-13 11:31:31 +0530 |
commit | 454533538af843b006c9517b39386a804b9e309b (patch) | |
tree | 94ec44ff7a06dc05530cbdcd3f055a398958b567 | |
parent | d1eee8b2343162d5876bb8ec5ae04035a9d9a409 (diff) | |
download | python-designateclient-454533538af843b006c9517b39386a804b9e309b.tar.gz |
Update typos
Change-Id: I55a39f985fe51452ee8b892fff10787dddc7c837
-rw-r--r-- | designateclient/client.py | 2 | ||||
-rw-r--r-- | designateclient/utils.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/designateclient/client.py b/designateclient/client.py index 5421d58..b4df6e6 100644 --- a/designateclient/client.py +++ b/designateclient/client.py @@ -93,7 +93,7 @@ class CrudController(Controller): @abc.abstractmethod def get(self, *args, **kw): """ - Get a resouce + Get a resource """ @abc.abstractmethod diff --git a/designateclient/utils.py b/designateclient/utils.py index e874a29..1576b9f 100644 --- a/designateclient/utils.py +++ b/designateclient/utils.py @@ -159,10 +159,10 @@ def get_session(auth_url, endpoint, domain_id, domain_name, project_id, def find_resourceid_by_name_or_id(resource_client, name_or_id): """Find resource id from its id or name.""" try: - # Try to return a uuid + # Try to return an uuid return str(uuid.UUID(name_or_id)) except ValueError: - # Not a uuid => asume it is resource name + # Not an uuid => assume it is resource name pass resources = resource_client.list() |