From patchwork Thu Aug 9 12:09:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Tunnicliffe X-Patchwork-Id: 10620 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 760EE23E56 for ; Thu, 9 Aug 2012 12:09:21 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 3C552A181B3 for ; Thu, 9 Aug 2012 12:09:21 +0000 (UTC) Received: by ghbg10 with SMTP id g10so324106ghb.11 for ; Thu, 09 Aug 2012 05:09:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type:mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state; bh=ivQV0xQVvcMrBw9QRfGqqX9Cq5sOiB1os5NWTLjbraQ=; b=Dmr1N9DxzEHehzp1AcbKUmxWAY+AMSyVbekNkkq66gYce/2Tb0lAFHHavTVAx56DlO O/bAvQMaIFdAQujYKWItbkl8qN7z2JKUlU4oXROl0v5Yj/qpX+ApHeSI7U+3IGJFDY+o ELVOqAnSJ276yQky+97NlpG5AQs74bqoYoy03nQ6lsMmXgzIwDvbMW8jOETGzz7tPG0c KG8XEZRRtGmOeMrBGQp1qFBlWXfefvNeg2TVrPEJ+9sMszemqOnull4RS7tR2RYomAU2 Mp0B9WltLArH+08UsGn06E/Zcv73fs2Un6aYXI6xLpXCpSBKNeBnELCk6VRp/c6GbnW+ G1qA== Received: by 10.42.75.73 with SMTP id z9mr16477233icj.46.1344514158635; Thu, 09 Aug 2012 05:09:18 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.200 with SMTP id ew8csp5165igc; Thu, 9 Aug 2012 05:09:17 -0700 (PDT) Received: by 10.180.102.136 with SMTP id fo8mr2353764wib.19.1344514157101; Thu, 09 Aug 2012 05:09:17 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id k14si1716685wiw.14.2012.08.09.05.09.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 05:09:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1SzRYC-0003H2-Ht for ; Thu, 09 Aug 2012 12:09:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7A842E0325 for ; Thu, 9 Aug 2012 12:09:16 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 546 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Thu, 09 Aug 2012 12:09:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15761"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 70e002729f7b6ff541f77ae2fe7a5a78a2af8256 X-Gm-Message-State: ALoCoQmQmG6Sn4vcZwaRVvCxJtKzZhPWqEysk8wMVYouH9zk7Le6tguv9eGn6kgCAjqntrVe7vXC ------------------------------------------------------------ revno: 546 committer: James Tunnicliffe 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 === 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)