diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 9c57c65f8..bf2f0ddd9 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -78,6 +78,9 @@ if "BBDEBUG" in os.environ: if level: bb.msg.set_debug_level(level) +if os.environ.get("BBFETCH2"): + from bb import fetch2 as fetch + sys.modules['bb.fetch'] = sys.modules['bb.fetch2'] # Messaging convenience functions def plain(*args): |