diff options
Diffstat (limited to 'scripts/lib/wic/imager')
| -rw-r--r-- | scripts/lib/wic/imager/baseimager.py | 4 | ||||
| -rw-r--r-- | scripts/lib/wic/imager/direct.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py index 4abcabca4b..acbe948584 100644 --- a/scripts/lib/wic/imager/baseimager.py +++ b/scripts/lib/wic/imager/baseimager.py | |||
| @@ -186,7 +186,7 @@ class BaseImageCreator(object): | |||
| 186 | def print_outimage_info(self): | 186 | def print_outimage_info(self): |
| 187 | msg = "The new image can be found here:\n" | 187 | msg = "The new image can be found here:\n" |
| 188 | self.outimage.sort() | 188 | self.outimage.sort() |
| 189 | for file in self.outimage: | 189 | for path in self.outimage: |
| 190 | msg += ' %s\n' % os.path.abspath(file) | 190 | msg += ' %s\n' % os.path.abspath(path) |
| 191 | 191 | ||
| 192 | msger.info(msg) | 192 | msger.info(msg) |
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 74ebbe79b6..761e436db5 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
| @@ -340,10 +340,10 @@ class DirectImageCreator(BaseImageCreator): | |||
| 340 | if p.get_rootfs() is None: | 340 | if p.get_rootfs() is None: |
| 341 | continue | 341 | continue |
| 342 | if p.mountpoint == '/': | 342 | if p.mountpoint == '/': |
| 343 | str = ':' | 343 | suffix = ':' |
| 344 | else: | 344 | else: |
| 345 | str = '["%s"]:' % (p.mountpoint or p.label) | 345 | suffix = '["%s"]:' % (p.mountpoint or p.label) |
| 346 | msg += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs()) | 346 | msg += ' ROOTFS_DIR%s%s\n' % (suffix.ljust(20), p.get_rootfs()) |
| 347 | 347 | ||
| 348 | msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir | 348 | msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir |
| 349 | msg += ' KERNEL_DIR: %s\n' % self.kernel_dir | 349 | msg += ' KERNEL_DIR: %s\n' % self.kernel_dir |
