diff options
author | Richard Purdie <richard@openedhand.com> | 2006-03-20 17:45:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-03-20 17:45:11 +0000 |
commit | b26a945734ce271aa7d443ff9e96fe2851b21138 (patch) | |
tree | f540b8d58a7411cf0cabe5c8f4ad40f9f597352a /bitbake/lib/bb/data_smart.py | |
parent | 3cd47ad235d54a9c539ae6fe4a5a2b4b5f7e5621 (diff) | |
download | poky-b26a945734ce271aa7d443ff9e96fe2851b21138.tar.gz |
Update to latest bitbake
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 741790502f..52f391dec1 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -29,7 +29,7 @@ Based on functions from the base bb module, Copyright 2003 Holger Schurig | |||
29 | """ | 29 | """ |
30 | 30 | ||
31 | import copy, os, re, sys, time, types | 31 | import copy, os, re, sys, time, types |
32 | from bb import note, debug, fatal | 32 | from bb import note, debug, fatal, utils |
33 | 33 | ||
34 | try: | 34 | try: |
35 | import cPickle as pickle | 35 | import cPickle as pickle |
@@ -287,8 +287,8 @@ class DataSmartPackage(DataSmart): | |||
287 | self.unpickle_prep() | 287 | self.unpickle_prep() |
288 | funcstr = self.getVar('__functions__', 0) | 288 | funcstr = self.getVar('__functions__', 0) |
289 | if funcstr: | 289 | if funcstr: |
290 | comp = compile(funcstr, "<pickled>", "exec") | 290 | comp = utils.better_compile(funcstr, "<pickled>", self.bbfile) |
291 | exec comp in __builtins__ | 291 | utils.better_exec(comp, __builtins__, funcstr, self.bbfile) |
292 | 292 | ||
293 | def linkDataSet(self): | 293 | def linkDataSet(self): |
294 | if not self.parent == None: | 294 | if not self.parent == None: |