Skip to content

Commit 53884a0

Browse files
committed
chore(ruff): new name for input variable which doesn't shadow builtin
1 parent 6048da4 commit 53884a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/cgi/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def handle_xmlrpc(self):
597597
# Pull the raw XML out of the form. The "value" attribute
598598
# will be the raw content of the POST request.
599599
assert self.form.file
600-
input = self.form.value
600+
input_data = self.form.value
601601
# So that the rest of Roundup can query the form in the
602602
# usual way, we create an empty list of fields.
603603
self.form.list = []
@@ -660,7 +660,7 @@ def handle_xmlrpc(self):
660660
self.instance.actions,
661661
self.translator,
662662
allow_none=True)
663-
output = handler.dispatch(input)
663+
output = handler.dispatch(input_data)
664664

665665
self.setHeader("Content-Type", "text/xml")
666666
self.setHeader("Content-Length", str(len(output)))

0 commit comments

Comments
 (0)