]> code.ossystems Code Review - openembedded-core.git/commit
cooker: use time.strftime() instead of spawing sh with date
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 7 Jun 2010 18:50:05 +0000 (20:50 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:35 +0000 (15:41 +0100)
commit186f85746668b0dfa8d887248a1384db298af5f5
treef8344af16fe1fcf2386c8e87e1f522313f3ffcef
parent04050117347ff2313245a6e47d4fcc5a2baf54a8
cooker: use time.strftime() instead of spawing sh with date

time.strftime() defaults to using time.localtime(), use that instead
of spawning "sh -c 'date +<FMT>'"

(Bitbake rev: ec1f2773b4811b3beb52710120bb5a9b215c174e)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cooker.py