Fix reuse
This commit is contained in:
@@ -110,9 +110,6 @@ class ImageBuilder(object):
|
|||||||
|
|
||||||
self._ico_server_path = os.path.dirname(sys.argv[0])
|
self._ico_server_path = os.path.dirname(sys.argv[0])
|
||||||
|
|
||||||
self._umount = []
|
|
||||||
self._rmtree = []
|
|
||||||
|
|
||||||
def _Exec(self, *args, **kwargs):
|
def _Exec(self, *args, **kwargs):
|
||||||
print('+', args)
|
print('+', args)
|
||||||
subprocess.check_call(args, **kwargs)
|
subprocess.check_call(args, **kwargs)
|
||||||
@@ -303,6 +300,8 @@ class ImageBuilder(object):
|
|||||||
self._CreateISO(union_path)
|
self._CreateISO(union_path)
|
||||||
|
|
||||||
def BuildImage(self):
|
def BuildImage(self):
|
||||||
|
self._umount = []
|
||||||
|
self._rmtree = []
|
||||||
try:
|
try:
|
||||||
self._BuildImage()
|
self._BuildImage()
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user