diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-12 08:30:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-16 23:32:40 +0100 |
commit | bc8971d122a02ed823acf0758da267dccc584f98 (patch) | |
tree | dd97329507feb611e64fad7f46d97d657f23eae4 /bitbake/lib/bb/tests/codeparser.py | |
parent | e2f4d9f1ec694768b223decb59a9c768a2da962d (diff) | |
download | poky-bc8971d122a02ed823acf0758da267dccc584f98.tar.gz |
bitbake: bitbake: Convert to python 3 megacommit This needs breaking up into smaller changes.
(Bitbake rev: cf51f19aed208a75d38c14cd585d9b9f115e3ba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/codeparser.py')
-rw-r--r-- | bitbake/lib/bb/tests/codeparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/codeparser.py b/bitbake/lib/bb/tests/codeparser.py index 5ea9d84803..14f0e2572c 100644 --- a/bitbake/lib/bb/tests/codeparser.py +++ b/bitbake/lib/bb/tests/codeparser.py | |||
@@ -191,8 +191,8 @@ class PythonReferenceTest(ReferenceTest): | |||
191 | if hasattr(bb.utils, "_context"): | 191 | if hasattr(bb.utils, "_context"): |
192 | self.context = bb.utils._context | 192 | self.context = bb.utils._context |
193 | else: | 193 | else: |
194 | import __builtin__ | 194 | import builtins |
195 | self.context = __builtin__.__dict__ | 195 | self.context = builtins.__dict__ |
196 | 196 | ||
197 | def parseExpression(self, exp): | 197 | def parseExpression(self, exp): |
198 | parsedvar = self.d.expandWithRefs(exp, None) | 198 | parsedvar = self.d.expandWithRefs(exp, None) |