aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create/boards.py
diff options
context:
space:
mode:
authorJames Tunnicliffe <james.tunnicliffe@linaro.org>2013-04-03 12:32:40 +0100
committerJames Tunnicliffe <james.tunnicliffe@linaro.org>2013-04-03 12:32:40 +0100
commitee8fc71cf8e98e3bc021cc061449f3f1b5cfb29e (patch)
treeab1eb98aa4de38496a7eed1b7797d34b81d8e029 /linaro_image_tools/media_create/boards.py
parent3fadd651f7ded9394276d023ff32e3f971da5788 (diff)
downloadlinaro-image-tools-ee8fc71cf8e98e3bc021cc061449f3f1b5cfb29e.tar.gz
PEP8 fixes.
Diffstat (limited to 'linaro_image_tools/media_create/boards.py')
-rw-r--r--linaro_image_tools/media_create/boards.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/linaro_image_tools/media_create/boards.py b/linaro_image_tools/media_create/boards.py
index 68ea5aa..dedd1cf 100644
--- a/linaro_image_tools/media_create/boards.py
+++ b/linaro_image_tools/media_create/boards.py
@@ -533,8 +533,8 @@ class BoardConfig(object):
if d_img_data is not None:
assert self.dtb_addr is not None, (
"Need a dtb_addr when passing d_img_data")
- boot_script += (("%(fatload_command)s mmc %(mmc_option)s "
- "%(dtb_addr)s board.dtb; ")) % replacements
+ boot_script += ("%(fatload_command)s mmc %(mmc_option)s "
+ "%(dtb_addr)s board.dtb; " % replacements)
boot_script += (("bootm %(kernel_addr)s")) % replacements
if i_img_data is not None:
boot_script += ((" %(initrd_addr)s")) % replacements
@@ -1594,8 +1594,8 @@ class OrigenQuadConfig(SamsungConfig):
name = boot_bin['name']
file_path = os.path.join(chroot_dir, boot_partition, name)
if not os.path.exists(file_path):
- raise BoardException("File '%s' does not exists. Cannot "
- "proceed." % name)
+ raise BoardException(
+ "File '%s' does not exists. Cannot proceed." % name)
_dd(file_path, boot_device_or_file, seek=boot_bin['seek'])