Add todo
This commit is contained in:
@@ -32,6 +32,7 @@ class GrubUpdater(object):
|
|||||||
def Update(self):
|
def Update(self):
|
||||||
grub_dir = os.path.join(self._boot_dir, 'grub')
|
grub_dir = os.path.join(self._boot_dir, 'grub')
|
||||||
|
|
||||||
|
# TODO: clean up if we fail here
|
||||||
with tempfile.NamedTemporaryFile('w', dir=grub_dir, delete=False) as fh:
|
with tempfile.NamedTemporaryFile('w', dir=grub_dir, delete=False) as fh:
|
||||||
current = os.readlink(os.path.join(self._image_dir, 'current'))
|
current = os.readlink(os.path.join(self._image_dir, 'current'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user