[oe-commits] [bitbake] 01/02: fetch2: remove last remaining usage of deprecated bb.data APIs
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 3 11:26:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 62dc3c3b40a95f9df31f5c917574c3822fb8bb64
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Thu Mar 2 16:22:00 2017 -0800
fetch2: remove last remaining usage of deprecated bb.data APIs
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/fetch2/__init__.py | 3 +--
lib/bb/fetch2/npm.py | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 5209f4d..327da87 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -38,7 +38,6 @@ import pickle
import errno
import bb.persist_data, bb.utils
import bb.checksum
-from bb import data
import bb.process
__version__ = "2"
@@ -1183,7 +1182,7 @@ class FetchData(object):
self.mirrortarball = None
self.basename = None
self.basepath = None
- (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(data.expand(url, d))
+ (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(d.expand(url))
self.date = self.getSRCDate(d)
self.url = url
if not self.user and "user" in self.parm:
diff --git a/lib/bb/fetch2/npm.py b/lib/bb/fetch2/npm.py
index 780f26d..73a75fe 100644
--- a/lib/bb/fetch2/npm.py
+++ b/lib/bb/fetch2/npm.py
@@ -25,7 +25,6 @@ import json
import subprocess
import signal
import bb
-from bb import data
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import ChecksumError
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list