From patchwork Wed Aug 24 14:09:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mattias Backman X-Patchwork-Id: 3659 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 B9FE023F26 for ; Wed, 24 Aug 2011 14:09:16 +0000 (UTC) Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id A0881A183E1 for ; Wed, 24 Aug 2011 14:09:16 +0000 (UTC) Received: by bkbzs2 with SMTP id zs2so1412460bkb.11 for ; Wed, 24 Aug 2011 07:09:16 -0700 (PDT) Received: by 10.204.143.130 with SMTP id v2mr2159265bku.18.1314194956058; Wed, 24 Aug 2011 07:09:16 -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.204.41.75 with SMTP id n11cs14393bke; Wed, 24 Aug 2011 07:09:15 -0700 (PDT) Received: by 10.227.55.66 with SMTP id t2mr1426497wbg.109.1314194954735; Wed, 24 Aug 2011 07:09:14 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id ge14si2761132wbb.13.2011.08.24.07.09.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Aug 2011 07:09:14 -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 1QwE8o-0006ti-Gu for ; Wed, 24 Aug 2011 14:09:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 77170E02C7 for ; Wed, 24 Aug 2011 14:09:14 +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: 424 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 424: Fix hwpack name in linaro-hwpack-replace. Message-Id: <20110824140914.22605.56561.launchpad@ackee.canonical.com> Date: Wed, 24 Aug 2011 14:09:14 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13727"; Instance="initZopeless config overlay" X-Launchpad-Hash: 2526dfde027e61b681f32b74d71d4c039e12d93a Merge authors: Deepti B. Kalakeri (deeptik) Related merge proposals: https://code.launchpad.net/~deeptik/linaro-image-tools/fix_hwpack_name/+merge/72560 proposed by: Deepti B. Kalakeri (deeptik) review: Approve - James Tunnicliffe (dooferlad) ------------------------------------------------------------ revno: 424 [merge] committer: Mattias Backman branch nick: linaro-image-tools timestamp: Wed 2011-08-24 16:03:50 +0200 message: Fix hwpack name in linaro-hwpack-replace. modified: linaro-hwpack-replace --- 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-hwpack-replace' --- linaro-hwpack-replace 2011-08-11 06:33:07 +0000 +++ linaro-hwpack-replace 2011-08-23 12:06:46 +0000 @@ -76,7 +76,7 @@ def get_hwpack_name(old_hwpack): - timestamp = [datetime.datetime.now().strftime("%Y%m%d-%H%S")] + timestamp = [datetime.datetime.now().strftime("%Y%m%d-%H%M")] hwpack_name_parts = (old_hwpack.split('_', 3)) return('_'.join(hwpack_name_parts[:2] + timestamp + hwpack_name_parts[3:]))