changeset 8187:5c506c778893

chore(ruff): new name for input variable which doesn't shadow builtin
author John Rouillard <rouilj@ieee.org>
date Wed, 11 Dec 2024 11:36:16 -0500
parents b938fd5223ae
children e5362f8e1808
files roundup/cgi/client.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/client.py	Tue Dec 10 17:38:57 2024 -0500
+++ b/roundup/cgi/client.py	Wed Dec 11 11:36:16 2024 -0500
@@ -597,7 +597,7 @@
         # Pull the raw XML out of the form.  The "value" attribute
         # will be the raw content of the POST request.
         assert self.form.file
-        input = self.form.value
+        input_data = self.form.value
         # So that the rest of Roundup can query the form in the
         # usual way, we create an empty list of fields.
         self.form.list = []
@@ -660,7 +660,7 @@
                                                self.instance.actions,
                                                self.translator,
                                                allow_none=True)
-            output = handler.dispatch(input)
+            output = handler.dispatch(input_data)
 
         self.setHeader("Content-Type", "text/xml")
         self.setHeader("Content-Length", str(len(output)))

Roundup Issue Tracker: http://roundup-tracker.org/