projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
29274f8
)
Don't call parted.Device.destroy()
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Sun, 27 Jan 2013 18:06:17 +0000
(20:06 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Sun, 27 Jan 2013 18:06:17 +0000
(20:06 +0200)
It behaves different in different pyparted versions and only causes
problems. Let python do the garbage-collection...
image_creator/bundle_volume.py
patch
|
blob
|
history
diff --git
a/image_creator/bundle_volume.py
b/image_creator/bundle_volume.py
index
56d4a78
..
f2aa22a
100644
(file)
--- a/
image_creator/bundle_volume.py
+++ b/
image_creator/bundle_volume.py
@@
-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):