summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/svk.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-04 14:40:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:37 +0000
commit7202a77134029cb37540c785ce0161a4dd574853 (patch)
treee9b8d7d3c180260317b661ce0f325a5492d9a6db /bitbake/lib/bb/fetch2/svk.py
parent8f2abf4a9f000d42e98c4936e393bd5033a1af48 (diff)
downloadpoky-7202a77134029cb37540c785ce0161a4dd574853.tar.gz
bitbake/fetch2: Use True instead of integer values
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/svk.py')
-rw-r--r--bitbake/lib/bb/fetch2/svk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/svk.py b/bitbake/lib/bb/fetch2/svk.py
index 213d0d3ec4..70f72c80ab 100644
--- a/bitbake/lib/bb/fetch2/svk.py
+++ b/bitbake/lib/bb/fetch2/svk.py
@@ -72,7 +72,7 @@ class Svk(FetchMethod):
72 logger.debug(2, "Fetch: creating temporary directory") 72 logger.debug(2, "Fetch: creating temporary directory")
73 bb.mkdirhier(data.expand('${WORKDIR}', localdata)) 73 bb.mkdirhier(data.expand('${WORKDIR}', localdata))
74 data.setVar('TMPBASE', data.expand('${WORKDIR}/oesvk.XXXXXX', localdata), localdata) 74 data.setVar('TMPBASE', data.expand('${WORKDIR}/oesvk.XXXXXX', localdata), localdata)
75 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false") 75 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false")
76 tmpfile = tmppipe.readline().strip() 76 tmpfile = tmppipe.readline().strip()
77 if not tmpfile: 77 if not tmpfile:
78 logger.error() 78 logger.error()