Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 8502:dfecb240bc34
chore: ruff whitespace fixes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 22 Dec 2025 01:14:14 -0500 |
| parents | b03160d46e9d |
| children | 299edbd03ddf |
line wrap: on
line diff
--- a/roundup/cgi/client.py Mon Dec 22 00:08:26 2025 -0500 +++ b/roundup/cgi/client.py Mon Dec 22 01:14:14 2025 -0500 @@ -106,6 +106,7 @@ msg_list.append(msg) return msg_list # for unittests + # if set to False via interfaces.py do not log a warning when # xmlrpc is used and defusedxml is not installed. WARN_FOR_MISSING_DEFUSEDXML = True @@ -1938,7 +1939,7 @@ Can be overridden by code in tracker's interfaces.py. """ - + from roundup.anypy.cgi_ import MiniFieldStorage original_action = self.form['@action'].value if '@action' \ @@ -1946,11 +1947,11 @@ original_template = self.template self.template = 'reauth' - self.form.list = [ x for x in self.form.list - if x.name not in ('@action', - '@csrf', - '@template' - )] + self.form.list = [x for x in self.form.list + if x.name not in ('@action', + '@csrf', + '@template' + )] # save the action and template used when the Reauth as # triggered. Will be used to resolve the change by the reauth
