]> code.ossystems Code Review - openembedded-core.git/commit
Deprecate the usage of certain objects via certain modules
authorChris Larson <chris_larson@mentor.com>
Fri, 9 Apr 2010 23:51:09 +0000 (16:51 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:33 +0000 (15:41 +0100)
commit978b5c946683885a64ee9e7c2064ff696f05cddb
tree0b0ce021c9b46f4aa110a549be984993296f2e0c
parentcbc8140c77d927f0b15234e46f4c61d1bb5376ef
Deprecate the usage of certain objects via certain modules

As an example, this displays a deprecation warning for the use of
"bb.encodeurl" when you should be using "bb.fetch.encodeurl".  It includes a
convenience function for this purpose.  It should be of use when moving
objects between modules permanently, changing the API the user sees.

(Bitbake rev: 78f56049ba863b2e585b89db12b32697eb879bbc)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/__init__.py
bitbake/lib/bb/parse/parse_py/BBHandler.py