Commit eb07a85f authored by Nikos Skalkotos's avatar Nikos Skalkotos

Don't call parted.Device.destroy()

It behaves different in different pyparted versions and only causes
problems. Let python do the garbage-collection...
parent 29274f83
......@@ -239,7 +239,7 @@ class BundleVolume(object):
ext.geometry.start, end=last.end)
image_disk.commit()
image_dev.destroy()
# image_dev.destroy()
return new_end
def _map_partition(self, dev, num, start, end):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment