diff options
author | WuKong <rebirthmonkey@gmail.com> | 2015-09-23 11:58:00 +0200 |
---|---|---|
committer | WuKong <rebirthmonkey@gmail.com> | 2015-09-23 11:58:00 +0200 |
commit | 480d0fb4390de27b225722e72cb95686f5c42ff8 (patch) | |
tree | f4d1c95356fce394c9bc8db427e5be558ae64568 /moonclient/moonclient/shell.py | |
parent | c572f02590ae0e70118bb6eec71b3bfdf3fb2b25 (diff) |
review moonclient
Change-Id: I0969fe42fd756c025d549d0cffe07943cddd2d15
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonclient/moonclient/shell.py')
-rw-r--r-- | moonclient/moonclient/shell.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moonclient/moonclient/shell.py b/moonclient/moonclient/shell.py index 5efef032..60a5355f 100644 --- a/moonclient/moonclient/shell.py +++ b/moonclient/moonclient/shell.py @@ -84,6 +84,7 @@ class MoonClient(App): if not self._tenant_id: self._tenant_id = self.get_url("/v3/projects?name={}".format(self._tenant_name), authtoken=True)["projects"][0]["id"] + # TODO: change '/v3/projects?name={}' return self._tenant_id @property @@ -101,6 +102,7 @@ class MoonClient(App): def get_tenant_uuid(self, tenant_name): return self.get_url("/v3/projects?name={}".format(tenant_name), authtoken=True)["projects"][0]["id"] + # TODO: change '/v3/projects?name={}' def get_url(self, url, post_data=None, delete_data=None, method="GET", authtoken=None): if post_data: |