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 9c57c65f8d..bf2f0ddd92 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -78,6 +78,9 @@ if "BBDEBUG" in os.environ: | |||
78 | if level: | 78 | if level: |
79 | bb.msg.set_debug_level(level) | 79 | bb.msg.set_debug_level(level) |
80 | 80 | ||
81 | if os.environ.get("BBFETCH2"): | ||
82 | from bb import fetch2 as fetch | ||
83 | sys.modules['bb.fetch'] = sys.modules['bb.fetch2'] | ||
81 | 84 | ||
82 | # Messaging convenience functions | 85 | # Messaging convenience functions |
83 | def plain(*args): | 86 | def plain(*args): |