Skip to content

Commit

Permalink
fix regression failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 committed Nov 28, 2024
1 parent 8301064 commit ee40b25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aqt/archives.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ def _parse_update_xml(self, os_target_folder, update_xml_text, target_packages:
)

def _parse_update_xmls(self, update_xmls, target_packages: Optional[ModuleToPackage]):
if not target_packages:
target_packages = ModuleToPackage({})
for update_xml in update_xmls:
self._parse_update_xml(update_xml.target_folder, update_xml.xml_text, target_packages)
# if we have located every requested package, then target_packages will be empty
Expand Down

0 comments on commit ee40b25

Please sign in to comment.