[bitbake-devel] [PATCH 16/16] bitbake: bb: Drop deprecated functions

Richard Purdie richard.purdie at linuxfoundation.org
Mon Sep 16 21:53:33 UTC 2013


These functions in the main bb module have long been deprecated
and moved to other modules. Finally remove the compatibility links.

(Bitbake rev: ccd181c3ed4852e2b9169cf19aaf18aeacddcc18)

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/__init__.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py
index 018b744..8a23a0f 100644
--- a/lib/bb/__init__.py
+++ b/lib/bb/__init__.py
@@ -140,6 +140,3 @@ def deprecate_import(current, modulename, fromlist, renames = None):
 
         setattr(sys.modules[current], newname, newobj)
 
-deprecate_import(__name__, "bb.fetch", ("MalformedUrl", "encodeurl", "decodeurl"))
-deprecate_import(__name__, "bb.utils", ("mkdirhier", "movefile", "copyfile", "which"))
-deprecate_import(__name__, "bb.utils", ["vercmp_string"], ["vercmp"])
-- 
1.8.1.2




More information about the bitbake-devel mailing list