Skip to content

Commit 5c38c53

Browse files
committed
fix ruff
1 parent 9396037 commit 5c38c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edk2toolext/perf/fpdt_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,15 +1643,15 @@ def write_records(self, fbpt_records_list: list) -> int:
16431643
# Add all records to the FBPT container element
16441644
for record in fbpt_records_list:
16451645
self.fbpt_tree.append(record.to_xml())
1646-
1646+
16471647
# Now append the complete FBPT container to the main XML tree
16481648
self.xml_tree.append(self.fbpt_tree)
16491649

16501650
# Format XML properly with indentation
16511651
rough_string = ET.tostring(self.xml_tree, encoding='unicode')
16521652
reparsed = minidom.parseString(rough_string)
16531653
formatted_xml = reparsed.toprettyxml(indent=" ")
1654-
1654+
16551655
with open(self.options.output_xml_file, "w", encoding='utf-8') as xml_file:
16561656
xml_file.write(formatted_xml)
16571657

0 commit comments

Comments
 (0)