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/ssh.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/ssh.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/ssh.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py index 635578a711..56f9b7eb35 100644 --- a/bitbake/lib/bb/fetch2/ssh.py +++ b/bitbake/lib/bb/fetch2/ssh.py | |||
@@ -114,12 +114,10 @@ class SSH(FetchMethod): | |||
114 | fr = host | 114 | fr = host |
115 | fr += ':%s' % path | 115 | fr += ':%s' % path |
116 | 116 | ||
117 | |||
118 | import commands | ||
119 | cmd = 'scp -B -r %s %s %s/' % ( | 117 | cmd = 'scp -B -r %s %s %s/' % ( |
120 | portarg, | 118 | portarg, |
121 | commands.mkarg(fr), | 119 | fr, |
122 | commands.mkarg(dldir) | 120 | dldir |
123 | ) | 121 | ) |
124 | 122 | ||
125 | bb.fetch2.check_network_access(d, cmd, urldata.url) | 123 | bb.fetch2.check_network_access(d, cmd, urldata.url) |