Skip to content

Commit

Permalink
chore(ruff): new name for input variable which doesn't shadow builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
rouilj committed Dec 11, 2024
1 parent 6048da4 commit 53884a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roundup/cgi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def handle_xmlrpc(self):
# 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 = []
Expand Down Expand Up @@ -660,7 +660,7 @@ def handle_xmlrpc(self):
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)))
Expand Down

0 comments on commit 53884a0

Please sign in to comment.