]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: perforce.py: fix the perforce fetcher
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 4 Feb 2013 03:19:36 +0000 (03:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2013 13:58:20 +0000 (05:58 -0800)
commit35ed9790198aab64777194488de2be5c26e23e30
tree4617ab6bbdaecee1f154d00cb69d1dc4fc159a3b
parent593ee3698ed1b6925b561f70ba269e345578ff4c
bitbake: perforce.py: fix the perforce fetcher

The bb.process.run() will return one tuple, e.g:

p4file = ('strA\nStrB\nstrC\n'), then there will be an iteration on p4file:

for i in p4file:
[snip]

The i will be 's t r A ...', this is incorrect. use splitlines() to fix
the problem.

[YOCTO #3619]

(Bitbake rev: b7440fb36b419996046f607e66434ce34722272b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/perforce.py