From: Thierry Parmentelat Date: Mon, 26 May 2008 07:08:11 +0000 (+0000) Subject: doc generation breaks if an empty list is mentioned as part of accepts X-Git-Tag: PLCAPI-4.3-1~53 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fef507bc3e301fbd349fad4cce2b5069cc1a2ac8;p=plcapi.git doc generation breaks if an empty list is mentioned as part of accepts --- diff --git a/PLC/Methods/UpdateNodeGroup.py b/PLC/Methods/UpdateNodeGroup.py index dddca60..d695012 100644 --- a/PLC/Methods/UpdateNodeGroup.py +++ b/PLC/Methods/UpdateNodeGroup.py @@ -6,7 +6,7 @@ from PLC.Auth import Auth related_fields = NodeGroup.related_fields.keys() can_update = lambda (field, value): field in \ - ['name', 'description'] + \ + ['groupname', 'tagname','tagvalue'] + \ related_fields class UpdateNodeGroup(Method):