Commit f424ea0a authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typos

parent b03c9095
......@@ -898,18 +898,15 @@ class image_compute_properties_set(_init_cyclades, _optional_json):
def _run(self, image_id, keyvals):
print keyvals
meta = dict()
for keyval in keyvals:
key, sep, val = keyval.partition('=')
meta[key] = val
print meta
self.client.update_image_metadata(image_id, **meta), print_dict)
def main(self, image_id, *key_equals_value):
super(self.__class__, self)._run()
print key_equals_value
self._run(image_id=image_id, keyvals=key_equals_value)
......@@ -818,7 +818,7 @@ class project_membership_join(_astakos_init):
print self.client.join_project(self.token, project_id)
def main(self, project_id):
super(_membership_action, self)._run()
super(project_membership_join, self)._run()
......@@ -832,5 +832,5 @@ class project_membership_enroll(_astakos_init):
print self.client.enroll_member(self.token, project_id, email)
def main(self, project_id, email):
super(_membership_action, self)._run()
super(project_membership_join, self)._run()
self._run(project_id, email)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment