summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/imager
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/imager')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index b7e324aab6..235eb24f59 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -547,7 +547,7 @@ class PartitionedImage():
547 547
548 def cleanup(self): 548 def cleanup(self):
549 # remove partition images 549 # remove partition images
550 for image in self.partimages: 550 for image in set(self.partimages):
551 os.remove(image) 551 os.remove(image)
552 552
553 def assemble(self): 553 def assemble(self):