diff options
Diffstat (limited to 'bitbake/lib/bb/methodpool.py')
-rw-r--r-- | bitbake/lib/bb/methodpool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/methodpool.py b/bitbake/lib/bb/methodpool.py index bf2e9f5542..b2ea1a1887 100644 --- a/bitbake/lib/bb/methodpool.py +++ b/bitbake/lib/bb/methodpool.py | |||
@@ -19,11 +19,11 @@ | |||
19 | 19 | ||
20 | from bb.utils import better_compile, better_exec | 20 | from bb.utils import better_compile, better_exec |
21 | 21 | ||
22 | def insert_method(modulename, code, fn): | 22 | def insert_method(modulename, code, fn, lineno): |
23 | """ | 23 | """ |
24 | Add code of a module should be added. The methods | 24 | Add code of a module should be added. The methods |
25 | will be simply added, no checking will be done | 25 | will be simply added, no checking will be done |
26 | """ | 26 | """ |
27 | comp = better_compile(code, modulename, fn ) | 27 | comp = better_compile(code, modulename, fn, lineno=lineno) |
28 | better_exec(comp, None, code, fn) | 28 | better_exec(comp, None, code, fn) |
29 | 29 | ||