bitbake: hig.py: use module tempfile to create temp file
authorKang Kai <kai.kang@windriver.com>
Mon, 25 Jun 2012 08:47:36 +0000 (16:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jun 2012 13:57:17 +0000 (14:57 +0100)
commita6f7af3744c869699e6b33ac350e1f0932000ea6
treea0c16e93971bb92dbd9a334c0725affed1433e2c
parent48a7ca894d605e04ba2ba7e2052d864ca7e9e7d7
bitbake: hig.py: use module tempfile to create temp file

I am sorry that use os.tmpname which casue a security warning.
Follow Darren's suggestion to use tempfile.NamedTemporaryFile instead.

(Bitbake rev: fe514a130579302312f68821536d108c8ceb4363)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/hig.py