diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-02-27 15:14:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 11:16:07 +0000 |
commit | b16192c93834d0a6530169557aa34122e1417bcf (patch) | |
tree | 194a2259542d50a1bafd8ea654a11ce0fd6d23d4 /bitbake/lib/bb/fetch2/perforce.py | |
parent | b1c48fb64619def3ee18286ccbb492e442e007dd (diff) | |
download | poky-b16192c93834d0a6530169557aa34122e1417bcf.tar.gz |
bitbake: fetch2: don't use deprecated bb.data APIs
Cleanup some more usage of bb.data APIs in the fetchers.
(Bitbake rev: 9752fd1c10b8fcc819822fa6eabc2c1050fcc03b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index e00cca90e7..3debad59f4 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py | |||
@@ -26,7 +26,6 @@ BitBake 'Fetch' implementation for perforce | |||
26 | import os | 26 | import os |
27 | import logging | 27 | import logging |
28 | import bb | 28 | import bb |
29 | from bb import data | ||
30 | from bb.fetch2 import FetchMethod | 29 | from bb.fetch2 import FetchMethod |
31 | from bb.fetch2 import FetchError | 30 | from bb.fetch2 import FetchError |
32 | from bb.fetch2 import logger | 31 | from bb.fetch2 import logger |
@@ -89,7 +88,7 @@ class Perforce(FetchMethod): | |||
89 | 88 | ||
90 | ud.setup_revisions(d) | 89 | ud.setup_revisions(d) |
91 | 90 | ||
92 | ud.localfile = data.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision), d) | 91 | ud.localfile = d.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision)) |
93 | 92 | ||
94 | def _buildp4command(self, ud, d, command, depot_filename=None): | 93 | def _buildp4command(self, ud, d, command, depot_filename=None): |
95 | """ | 94 | """ |