diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 546: Fixed PEP8 and minor review quibble

Message ID 20120809120916.20688.54297.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

James Tunnicliffe Aug. 9, 2012, 12:09 p.m. UTC
------------------------------------------------------------
revno: 546
committer: James Tunnicliffe <james.tunnicliffe@linaro.org>
branch nick: linaro-image-tools
timestamp: Thu 2012-08-09 13:08:40 +0100
message:
  Fixed PEP8 and minor review quibble
modified:
  linaro-media-create
  linaro_image_tools/media_create/chroot_utils.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro-media-create'
--- linaro-media-create	2012-08-05 09:21:10 +0000
+++ linaro-media-create	2012-08-09 12:08:40 +0000
@@ -181,7 +181,7 @@ 
     # if not a debian compatible system, just extract the kernel packages
     extract_kpkgs = False
     if not path_in_tarfile_exists(
-            filesystem_dir + '/etc/debian_version', args.binary):
+            os.path.join(filesystem_dir, '/etc/debian_version'), args.binary):
         extract_kpkgs = True
 
     ROOTFS_DIR = os.path.join(BIN_DIR, filesystem_dir)

=== modified file 'linaro_image_tools/media_create/chroot_utils.py'
--- linaro_image_tools/media_create/chroot_utils.py	2012-08-05 09:22:32 +0000
+++ linaro_image_tools/media_create/chroot_utils.py	2012-08-09 12:08:40 +0000
@@ -46,7 +46,7 @@ 
 
 def install_hwpacks(
     chroot_dir, tmp_dir, tools_dir, hwpack_force_yes, verified_files,
-    extract_kpkgs = False, *hwpack_files):
+    extract_kpkgs=False, *hwpack_files):
     """Install the given hwpacks onto the given chroot."""
     prepare_chroot(chroot_dir, tmp_dir)