From patchwork Tue Aug 6 07:26:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 18788 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BF4A025DF6 for ; Tue, 6 Aug 2013 07:26:28 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf37679qee.10 for ; Tue, 06 Aug 2013 00:26:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-gm-message-state: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-removed-original-auth: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=E/XVyZF6LoKcwcKzFnx3jAb2ZjhVY/Tb+ZX5bSdZSjk=; b=YLapqbaH9lSXou/F7S/x5cSVfs7r3U+DiV1YV6UU+9EuNkU/EgZcP97hTibDuLE97t IwtMG/Po9g4fCVJ9utC2UgeOchjL+W9WcO7KtZoJWtblhLTxClJDhDZ6/XEQKDqmZziQ Pi9IMT23dmRrDdgY9BPD7OlFEiUJxyuPcRyvqR9X64EoSMlv+a5iDarBewV74Jppkfh1 kqGxckIK+2eIvsEhx1VTF3Rblb9KGw5ZLe+cMMdGiAoBkArwtadUXw8cZ3ROtdVITYPL vWTpjuCPB92gdFOqzNTLNRr7bIh1oyT54ZnSDMtpJ5bQACDmQ/YFZYgDA3L+d3NFnE8S jbOQ== X-Received: by 10.236.120.232 with SMTP id p68mr9778690yhh.43.1375773988609; Tue, 06 Aug 2013 00:26:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.17.197 with SMTP id q5ls109804qed.93.gmail; Tue, 06 Aug 2013 00:26:28 -0700 (PDT) X-Received: by 10.220.145.4 with SMTP id b4mr6959672vcv.94.1375773988474; Tue, 06 Aug 2013 00:26:28 -0700 (PDT) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id fa1si19957ved.127.2013.08.06.00.26.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 00:26:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.51; Received: by mail-vb0-f51.google.com with SMTP id x16so31512vbf.38 for ; Tue, 06 Aug 2013 00:26:28 -0700 (PDT) X-Gm-Message-State: ALoCoQlRjPWdzbVb+gIBhcoK69Ft3m3iGtyllwFm/3DiLGt4hn0jw+V26zCOyd+bvvhsQnZEB99W X-Received: by 10.221.47.193 with SMTP id ut1mr11876vcb.8.1375773988337; Tue, 06 Aug 2013 00:26:28 -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.221.11.8 with SMTP id pc8csp131648vcb; Tue, 6 Aug 2013 00:26:27 -0700 (PDT) X-Received: by 10.194.81.39 with SMTP id w7mr15623319wjx.51.1375773987313; Tue, 06 Aug 2013 00:26:27 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id g4si43975wjy.154.2013.08.06.00.26.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 00:26:27 -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 1V6bf0-0003KV-JA for ; Tue, 06 Aug 2013 07:26:26 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 821CBE0984 for ; Tue, 6 Aug 2013 07:26:26 +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: 633 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 633: Fix typos Message-Id: <20130806072626.341.95625.launchpad@ackee.canonical.com> Date: Tue, 06 Aug 2013 07:26:26 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16718"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 76c006402a150fec768c8556b478ad538e28cec9 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.51 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: , ------------------------------------------------------------ revno: 633 committer: Fathi Boudra branch nick: linaro-image-tools timestamp: Tue 2013-08-06 10:25:33 +0300 message: Fix typos modified: linaro-android-media-create linaro_image_tools/media_create/boards.py linaro_image_tools/tests/test_utils.py linaro_image_tools/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-android-media-create' --- linaro-android-media-create 2013-04-03 10:05:46 +0000 +++ linaro-android-media-create 2013-08-06 07:25:33 +0000 @@ -42,7 +42,7 @@ from linaro_image_tools.media_create import get_android_args_parser from linaro_image_tools.utils import ( additional_android_option_checks, - andorid_hwpack_in_boot_tarball, + android_hwpack_in_boot_tarball, ensure_command, get_logger, disable_automount, @@ -141,7 +141,7 @@ board_config = get_board_config(args.dev) - hwpack_exists, config_file = andorid_hwpack_in_boot_tarball(BOOT_DIR) + hwpack_exists, config_file = android_hwpack_in_boot_tarball(BOOT_DIR) if not args.hwpack and not hwpack_exists: # No hwpack in the boot tarball nor provided on the command line. logger.warning("No hwpack found in the boot tarball nor passed on " === modified file 'linaro_image_tools/media_create/boards.py' --- linaro_image_tools/media_create/boards.py 2013-07-25 08:00:25 +0000 +++ linaro_image_tools/media_create/boards.py 2013-08-06 07:25:33 +0000 @@ -862,7 +862,7 @@ if self.initrd: initrd = _get_file_matching(os.path.join(path, self.initrd)) if not self.initrd or not initrd: - logger.warn("Could not find a valid initrd, skipping uInitd.") + logger.warn("Could not find a valid initrd, skipping uInitrd.") if self.dtb_file: dtb = _get_file_matching(os.path.join(path, self.dtb_file)) === modified file 'linaro_image_tools/tests/test_utils.py' --- linaro_image_tools/tests/test_utils.py 2013-06-27 09:04:20 +0000 +++ linaro_image_tools/tests/test_utils.py 2013-08-06 07:25:33 +0000 @@ -39,7 +39,7 @@ UnableToFindPackageProvidingCommand, additional_android_option_checks, additional_option_checks, - andorid_hwpack_in_boot_tarball, + android_hwpack_in_boot_tarball, check_file_integrity_and_log_errors, ensure_command, find_command, @@ -376,7 +376,7 @@ expected = (True, config_file) with open(config_file, "w"): self.assertEqual(expected, - andorid_hwpack_in_boot_tarball(tmpdir)) + android_hwpack_in_boot_tarball(tmpdir)) finally: os.unlink(config_file) os.removedirs(boot_dir) @@ -389,7 +389,7 @@ os.mkdir(boot_dir) config_file = os.path.join(boot_dir, "config") expected = (False, config_file) - self.assertEqual(expected, andorid_hwpack_in_boot_tarball(tmpdir)) + self.assertEqual(expected, android_hwpack_in_boot_tarball(tmpdir)) finally: os.removedirs(boot_dir) === modified file 'linaro_image_tools/utils.py' --- linaro_image_tools/utils.py 2013-04-03 10:05:46 +0000 +++ linaro_image_tools/utils.py 2013-08-06 07:25:33 +0000 @@ -363,7 +363,7 @@ "--hwpack argument (%s) is not a regular file" % args.hwpack) -def andorid_hwpack_in_boot_tarball(boot_dir): +def android_hwpack_in_boot_tarball(boot_dir): """Simple check for existence of a path. Needed to make cli command testable in some way.