mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
Move compat imports in the bb package to avoid circular dep issues.
(Bitbake rev: b66c129edc7d78fed9d41b0c634744ec81931b21) Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
ac392b66a5
commit
b7d175a18a
@@ -80,11 +80,6 @@ if "BBDEBUG" in os.environ:
|
|||||||
if level:
|
if level:
|
||||||
bb.msg.set_debug_level(level)
|
bb.msg.set_debug_level(level)
|
||||||
|
|
||||||
# For compatibility
|
|
||||||
from bb.fetch import MalformedUrl, encodeurl, decodeurl
|
|
||||||
from bb.data import VarExpandError
|
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
@@ -1019,6 +1014,10 @@ def dep_opconvert(mysplit, myuse):
|
|||||||
mypos += 1
|
mypos += 1
|
||||||
return newsplit
|
return newsplit
|
||||||
|
|
||||||
|
# For compatibility
|
||||||
|
from bb.fetch import MalformedUrl, encodeurl, decodeurl
|
||||||
|
from bb.data import VarExpandError
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest, bb
|
import doctest, bb
|
||||||
bb.msg.set_debug_level(0)
|
bb.msg.set_debug_level(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user