From patchwork Thu Jun 27 09:13:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milo Casagrande X-Patchwork-Id: 18144 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f70.google.com (mail-qe0-f70.google.com [209.85.128.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5727323910 for ; Thu, 27 Jun 2013 09:13:21 +0000 (UTC) Received: by mail-qe0-f70.google.com with SMTP id 2sf355582qea.5 for ; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :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:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=lHg2kgcVD0Ss6rWr9zvrIC4ve1Vvj7HX7dZLKJaNx+g=; b=Gg5qK8QcCbEppQky5EciRlXE2eqPmxqAz21mILLYcBd0iJq6hCRSpnCQl8Yg/HNUhh 8aiNtR4w3V+6LLTl6Kcs0UCXuYoi0eVxSDNUiEbMaSPLWiDkUkyvat2m9rEwjp5O61o+ Q1mYF4Y0sM2CLfjU0E2Y4HHTacAQ/lm+8orA1NRhUadFcBS3Q0oe8CF38ZiVOGPZKunU YzQ5f6zPWQjvSEWB5IzUumM589G/ZfxjRFWpm7LFJUcrUBrD2c/mrKCB7gY9mogWtx1R uvZBHDfckTJ0uSh9z6qm+qHpobWpQHZ5zYqVDLoVWQY7IYWxI1rihdFp44MGRrh5LLzL OPCw== X-Received: by 10.236.193.196 with SMTP id k44mr4129819yhn.40.1372324400460; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.195 with SMTP id i3ls733429qed.17.gmail; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) X-Received: by 10.52.65.10 with SMTP id t10mr2651557vds.90.1372324400227; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id ek9si554402vdb.50.2013.06.27.02.13.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 02:13:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hf12so173591vcb.29 for ; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) X-Received: by 10.58.119.233 with SMTP id kx9mr3255229veb.3.1372324400128; Thu, 27 Jun 2013 02:13:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp140311veb; Thu, 27 Jun 2013 02:13:19 -0700 (PDT) X-Received: by 10.180.20.228 with SMTP id q4mr5387117wie.1.1372324399119; Thu, 27 Jun 2013 02:13:19 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id z14si680978wjw.110.2013.06.27.02.13.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 27 Jun 2013 02:13:19 -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; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Us8GU-0005sC-H8 for ; Thu, 27 Jun 2013 09:13:18 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 75D7AEC18F for ; Thu, 27 Jun 2013 09:13:18 +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: 626 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 626: PEP8 fixes. Message-Id: <20130627091318.11044.74332.launchpad@ackee.canonical.com> Date: Thu, 27 Jun 2013 09:13:18 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16681"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: fbba5e7674d0bb2d038131faea0eecfa8807b257 X-Gm-Message-State: ALoCoQnMkT3e2ynYKm7KepD4BtYFasglMXUuMuFYOcLQFNL2ONrFwqLrCo5unt7iuIv/BYLCWqn4 X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Milo Casagrande (milo) Related merge proposals: https://code.launchpad.net/~milo/linaro-image-tools/pep8-fixes/+merge/171742 proposed by: Milo Casagrande (milo) review: Approve - Georgy Redkozubov (gesha) ------------------------------------------------------------ revno: 626 [merge] committer: Milo Casagrande branch nick: trunk timestamp: Thu 2013-06-27 11:12:50 +0200 message: PEP8 fixes. modified: linaro_image_tools/hwpack/tests/test_config.py linaro_image_tools/hwpack/tests/test_hardwarepack.py linaro_image_tools/media_create/boards.py linaro_image_tools/media_create/tests/test_media_create.py linaro_image_tools/tests/test_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_image_tools/hwpack/tests/test_config.py' --- linaro_image_tools/hwpack/tests/test_config.py 2013-02-18 09:40:15 +0000 +++ linaro_image_tools/hwpack/tests/test_config.py 2013-06-27 09:04:20 +0000 @@ -304,9 +304,9 @@ def test_validate_partition_layout(self): partition_layout = 'apafs_bananfs' config = self.get_config(self.valid_start_v2 + "u_boot_package = " - "u-boot-linaro-s5pv310\nu_boot_file = " - "u-boot.bin\npartition_layout = %s\n" % - partition_layout) + "u-boot-linaro-s5pv310\nu_boot_file = " + "u-boot.bin\npartition_layout = %s\n" % + partition_layout) self.assertValidationError( "Undefined partition layout %s in the [%s] section. " "Valid partition layouts are %s." === modified file 'linaro_image_tools/hwpack/tests/test_hardwarepack.py' --- linaro_image_tools/hwpack/tests/test_hardwarepack.py 2013-02-17 13:53:41 +0000 +++ linaro_image_tools/hwpack/tests/test_hardwarepack.py 2013-06-27 09:04:20 +0000 @@ -443,7 +443,7 @@ self.assertThat( tf, HardwarePackHasFile("pkgs/%s" % package1.filename, - content=package1.content.read())) + content=package1.content.read())) self.assertThat( tf, HardwarePackHasFile("pkgs/%s" % package2.filename, === modified file 'linaro_image_tools/media_create/boards.py' --- linaro_image_tools/media_create/boards.py 2013-05-23 17:29:29 +0000 +++ linaro_image_tools/media_create/boards.py 2013-06-27 09:04:20 +0000 @@ -1169,7 +1169,7 @@ self.delete_file(toc_filename) if self.delete_startupfiles: self.delete_file(os.path.join(config_files_dir, - self.snowball_startup_files_config)) + self.snowball_startup_files_config)) def snowball_config(self, chroot_dir): # We will find the startupfiles in the target boot partition. === modified file 'linaro_image_tools/media_create/tests/test_media_create.py' --- linaro_image_tools/media_create/tests/test_media_create.py 2013-05-23 17:57:10 +0000 +++ linaro_image_tools/media_create/tests/test_media_create.py 2013-06-27 09:04:20 +0000 @@ -2987,7 +2987,7 @@ self.linux_offsets_and_sizes = [ (16384 * SECTOR_SIZE, 15746 * SECTOR_SIZE), (32768 * SECTOR_SIZE, (self.linux_image_size - - 32768 * SECTOR_SIZE)) + 32768 * SECTOR_SIZE)) ] self.android_image_size = 256 * 1024 ** 2 # Extended partition info takes 32 sectors from the first ext partition === modified file 'linaro_image_tools/tests/test_utils.py' --- linaro_image_tools/tests/test_utils.py 2013-02-25 18:31:26 +0000 +++ linaro_image_tools/tests/test_utils.py 2013-06-27 09:04:20 +0000 @@ -280,7 +280,7 @@ else: self.assertEqual( ['apt-get -s install dosfstools', - '%s apt-get --yes install dosfstools' % sudo_args], + '%s apt-get --yes install dosfstools' % sudo_args], fixture.mock.commands_executed) def test_package_installation_refused(self):