Revision 379cd4bb kamaki/cli.py
b/kamaki/cli.py | ||
---|---|---|
971 | 971 |
def main(self, metakey, container____path__=None): |
972 | 972 |
super(store_delmeta, self).main(container____path__) |
973 | 973 |
if self.container is None: |
974 |
self.client.delete_account_meta(metakey)
|
|
974 |
self.client.del_account_meta(metakey) |
|
975 | 975 |
elif self.path is None: |
976 | 976 |
self.client.delete_container_meta(metakey) |
977 | 977 |
else: |
... | ... | |
1025 | 1025 |
self.client.container = container |
1026 | 1026 |
self.client.set_container_versioning(versioning) |
1027 | 1027 |
|
1028 |
#@command(api='storage') |
|
1029 |
#class store_test(_store_account_command): |
|
1030 |
# """Perform a developer-level custom test""" |
|
1031 |
# def main(self): |
|
1032 |
# super(store_test, self).main() |
|
1033 |
# self.client.container = 'testCo' |
|
1034 |
# reply = self.client.container_get(delimiter='2') |
|
1035 |
# print_list(reply.json) |
|
1036 |
|
|
1028 | 1037 |
@command(api='storage') |
1029 | 1038 |
class store_group(_store_account_command): |
1030 | 1039 |
"""Get user groups details for account""" |
Also available in: Unified diff