Mercurial > p > roundup > code
changeset 8206:8656bd1cf1f1
chore(ruff): clean whitespace and remove unrecognized noqa directive.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 11 Dec 2024 15:22:03 -0500 |
| parents | 4993e122235e |
| children | 894eabf95385 |
| files | roundup/cgi/client.py roundup/rest.py |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/cgi/client.py Wed Dec 11 15:18:36 2024 -0500 +++ b/roundup/cgi/client.py Wed Dec 11 15:22:03 2024 -0500 @@ -2344,7 +2344,7 @@ if isinstance(action, list): raise SeriousError( self._('broken form: multiple @action values submitted')) - + action = action.value.lower() try:
--- a/roundup/rest.py Wed Dec 11 15:18:36 2024 -0500 +++ b/roundup/rest.py Wed Dec 11 15:22:03 2024 -0500 @@ -520,7 +520,7 @@ 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
