diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-08-15 15:28:00 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-08-15 15:28:00 +0000 |
commit | 7915723f28e80431c5c2bbbdd45337d18baa1131 (patch) | |
tree | 379e573b40ec726ccdf5008972992aab002300c6 /lib/bb | |
parent | 29750dce93431687d8c270fe77f00d6d12f72340 (diff) | |
download | bitbake-7915723f28e80431c5c2bbbdd45337d18baa1131.tar.gz |
BitBake: Bump and add Versions 1.4.5 and 1.6.1
Diffstat (limited to 'lib/bb')
-rw-r--r-- | lib/bb/__init__.py | 2 | ||||
-rw-r--r-- | lib/bb/methodpool.py | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py index 46043239f..47f46a7ac 100644 --- a/lib/bb/__init__.py +++ b/lib/bb/__init__.py @@ -23,7 +23,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. """ -__version__ = "1.5.0" +__version__ = "1.6.1" __all__ = [ diff --git a/lib/bb/methodpool.py b/lib/bb/methodpool.py index e14986bc1..ada3d2596 100644 --- a/lib/bb/methodpool.py +++ b/lib/bb/methodpool.py @@ -61,15 +61,6 @@ def insert_method(modulename, code, fn): comp = better_compile(code, "<bb>", fn ) better_exec(comp, __builtins__, code, fn) - # now some instrumentation - code = comp.co_names - for name in code: - if name in ['None', 'False']: - continue - elif name in _parsed_fns and not _parsed_fns[name] == modulename: - error( "Error Method already seen: %s in' %s' now in '%s'" % (name, _parsed_fns[name], modulename)) - else: - _parsed_fns[name] = modulename def check_insert_method(modulename, code, fn): """ |