Fix reuse

This commit is contained in:
Ian Gulliver
2016-03-31 14:28:45 -07:00
parent f580d4e683
commit a076f81d4a

View File

@@ -110,9 +110,6 @@ class ImageBuilder(object):
self._ico_server_path = os.path.dirname(sys.argv[0])
self._umount = []
self._rmtree = []
def _Exec(self, *args, **kwargs):
print('+', args)
subprocess.check_call(args, **kwargs)
@@ -303,6 +300,8 @@ class ImageBuilder(object):
self._CreateISO(union_path)
def BuildImage(self):
self._umount = []
self._rmtree = []
try:
self._BuildImage()
finally: