1# Update IDE disk devices with dmaAborted flag 2def upgrader(cpt): 3 for sec in cpt.sections(): 4 # curSector only exists in IDE devices, so key on that attribute 5 if cpt.has_option(sec, "curSector"): 6 cpt.set(sec, "dmaAborted", "false") 7 8legacy_version = 7 9