From 927b851b061c4fcbb6a1798bec27c38f6fc14550 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Tue, 10 May 2016 19:12:51 +0000 Subject: [PATCH] Add todo --- client/update_grub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/update_grub.py b/client/update_grub.py index e3014a8..a63f205 100755 --- a/client/update_grub.py +++ b/client/update_grub.py @@ -32,6 +32,7 @@ class GrubUpdater(object): def Update(self): 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: current = os.readlink(os.path.join(self._image_dir, 'current'))