diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:30:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:02 +0100 |
commit | 0f2c59367a649de5f57acdccfb4f1fdba9cde730 (patch) | |
tree | 7a3558a3e08e690fbb0b5bdc4044316f9ab4bbcb /bitbake/lib/bb/fetch2/perforce.py | |
parent | ef1df516512587ad415f76a9626620992d660e45 (diff) | |
download | poky-0f2c59367a649de5f57acdccfb4f1fdba9cde730.tar.gz |
bitbake: bitbake: Convert to python 3
Various misc changes to convert bitbake to python3 which don't warrant
separation into separate commits.
(Bitbake rev: d0f904d407f57998419bd9c305ce53e5eaa36b24)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/perforce.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index 1aef246942..ce3cda2670 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py | |||
@@ -61,7 +61,7 @@ class Perforce(FetchMethod): | |||
61 | keys.append(key) | 61 | keys.append(key) |
62 | values.append(value) | 62 | values.append(value) |
63 | 63 | ||
64 | parm = dict(zip(keys, values)) | 64 | parm = dict(list(zip(keys, values))) |
65 | path = "//" + path.split(';')[0] | 65 | path = "//" + path.split(';')[0] |
66 | host += ":%s" % (port) | 66 | host += ":%s" % (port) |
67 | parm["cset"] = Perforce.getcset(d, path, host, user, pswd, parm) | 67 | parm["cset"] = Perforce.getcset(d, path, host, user, pswd, parm) |