Skip to content

Commit

Permalink
groupdict -> group
Browse files Browse the repository at this point in the history
  • Loading branch information
eXenon committed Nov 10, 2023
1 parent c7de53f commit a34c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def upload_to_s3(self, form_data: str, trace_file: str) -> None:
xmlns = ""
match = re.search(r'xmlns="(?P<value>.*?)"', output)
if match is not None:
xmlns = f"{{{match.groupdict()['value']}}}"
xmlns = f"{{{match.group('value')}}}"
xml_key = xml.find(f"{xmlns}Key")
assert (
xml_key is not None
Expand Down

0 comments on commit a34c112

Please sign in to comment.