Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit dfaeb23

Browse files
committed
Remove now-dead code
1 parent 0d17197 commit dfaeb23

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

virtinst/Guest.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -669,16 +669,9 @@ def get_dev_xml(dev):
669669
dev.path = origpath
670670

671671
xml = ""
672-
try:
673-
# Build XML
674-
for dev in devs:
675-
xml = _util.xml_append(xml, get_dev_xml(dev))
676-
finally:
677-
try:
678-
for disk, path in change_disks:
679-
disk.path = path
680-
except:
681-
pass
672+
# Build XML
673+
for dev in devs:
674+
xml = _util.xml_append(xml, get_dev_xml(dev))
682675

683676
return xml
684677

0 commit comments

Comments
 (0)