Revision a41d7a1d
b/docs/conf.py | ||
---|---|---|
93 | 93 |
# built documents. |
94 | 94 |
# |
95 | 95 |
# The short X.Y version. |
96 |
version = '0.8'
|
|
96 |
version = '0.10'
|
|
97 | 97 |
# The full version, including alpha/beta/rc tags. |
98 | 98 |
try: |
99 | 99 |
import kamaki |
b/kamaki/cli/commands/image.py | ||
---|---|---|
898 | 898 |
@errors.cyclades.connection |
899 | 899 |
@errors.plankton.id |
900 | 900 |
def _run(self, image_id, keyvals): |
901 |
print keyvals |
|
901 | 902 |
meta = dict() |
902 | 903 |
for keyval in keyvals: |
903 | 904 |
key, sep, val = keyval.partition('=') |
904 | 905 |
meta[key] = val |
906 |
print meta |
|
905 | 907 |
self._print( |
906 | 908 |
self.client.update_image_metadata(image_id, **meta), print_dict) |
907 | 909 |
|
b/kamaki/cli/errors.py | ||
---|---|---|
41 | 41 |
def __init__(self, message, details=[], importance=0): |
42 | 42 |
""" |
43 | 43 |
@message is the main message of the Error |
44 |
@detauls is a list of previous errors
|
|
44 |
@defaults is a list of previous errors
|
|
45 | 45 |
@importance of the output for the user |
46 | 46 |
Suggested values: 0, 1, 2, 3 |
47 | 47 |
""" |
Also available in: Unified diff