summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/perforce.py
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-02-27 15:14:09 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:16:07 +0000
commitb16192c93834d0a6530169557aa34122e1417bcf (patch)
tree194a2259542d50a1bafd8ea654a11ce0fd6d23d4 /bitbake/lib/bb/fetch2/perforce.py
parentb1c48fb64619def3ee18286ccbb492e442e007dd (diff)
downloadpoky-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.py3
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
26import os 26import os
27import logging 27import logging
28import bb 28import bb
29from bb import data
30from bb.fetch2 import FetchMethod 29from bb.fetch2 import FetchMethod
31from bb.fetch2 import FetchError 30from bb.fetch2 import FetchError
32from bb.fetch2 import logger 31from 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 """