Merge branch 'master' of github.com:open-cloud/xos
diff --git a/xos/tosca/resources/xosresource.py b/xos/tosca/resources/xosresource.py
index 4e8d041..eddd8cb 100644
--- a/xos/tosca/resources/xosresource.py
+++ b/xos/tosca/resources/xosresource.py
@@ -147,11 +147,9 @@
self.postprocess(xos_obj)
def update(self, obj):
- return # XXX this doesn't work yet
-
xos_args = self.get_xos_args()
- for (k,v) in xos_args:
- setattr(obj, k)
+ for (k,v) in xos_args.items():
+ setattr(obj, k, v)
obj.save()
def delete(self, obj):