diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-02-27 15:14:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-28 09:32:38 +0000 |
commit | 9752fd1c10b8fcc819822fa6eabc2c1050fcc03b (patch) | |
tree | cc3feee149b03de72f106b955728be45bcd1bc92 /lib/bb/fetch2/perforce.py | |
parent | f5ab65610d6d6c0587948b644292f57c07dece0c (diff) | |
download | bitbake-contrib-9752fd1c10b8fcc819822fa6eabc2c1050fcc03b.tar.gz |
fetch2: don't use deprecated bb.data APIs
Cleanup some more usage of bb.data APIs in the fetchers.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/perforce.py')
-rw-r--r-- | lib/bb/fetch2/perforce.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/fetch2/perforce.py b/lib/bb/fetch2/perforce.py index e00cca90e..3debad59f 100644 --- a/lib/bb/fetch2/perforce.py +++ b/lib/bb/fetch2/perforce.py @@ -26,7 +26,6 @@ BitBake 'Fetch' implementation for perforce import os import logging import bb -from bb import data from bb.fetch2 import FetchMethod from bb.fetch2 import FetchError from bb.fetch2 import logger @@ -89,7 +88,7 @@ class Perforce(FetchMethod): ud.setup_revisions(d) - ud.localfile = data.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision), d) + ud.localfile = d.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision)) def _buildp4command(self, ud, d, command, depot_filename=None): """ |