diff mbox

[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
State Accepted
Headers show

Commit Message

Mattias Backman Aug. 24, 2011, 2:09 p.m. UTC
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 <mattias.backman@linaro.org>
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
diff mbox

Patch

=== 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:]))