diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index c31dd49e..376c6762 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -2344,7 +2344,7 @@ def handle_action(self): if isinstance(action, list): raise SeriousError( self._('broken form: multiple @action values submitted')) - + action = action.value.lower() try: diff --git a/roundup/rest.py b/roundup/rest.py index 5e291b61..a2aacb70 100644 --- a/roundup/rest.py +++ b/roundup/rest.py @@ -520,7 +520,7 @@ def props_from_args(self, cl, args, itemid=None, skip_protected=True): elif key not in unprotected_class_props: # report bad props as this is an error. raise UsageError("Property %s not found in class %s" % (key, - cl.classname)) # noqa: E128 + cl.classname)) props[key] = self.prop_from_arg(cl, key, value, itemid) return props