diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-04 10:06:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-09 11:07:48 +0000 |
commit | b3f0b96a25de84423cf14597d0770decdaf38ebb (patch) | |
tree | fb784fc199288c87cebc4d02d891585615e59a4b | |
parent | cbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07 (diff) | |
download | poky-b3f0b96a25de84423cf14597d0770decdaf38ebb.tar.gz |
bitbake: pysh/pyshlex.py: Set is not importable
>>> from Set import Set
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'Set'
So remove related code.
(Bitbake rev: 118e9d8894e64d102543562314b318676006e710)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/pysh/pyshlex.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/pysh/pyshlex.py b/bitbake/lib/bb/pysh/pyshlex.py index fbf094b7a9..a42c294464 100644 --- a/bitbake/lib/bb/pysh/pyshlex.py +++ b/bitbake/lib/bb/pysh/pyshlex.py | |||
@@ -13,11 +13,6 @@ | |||
13 | # PLY in pull mode. It was designed to work incrementally and it would not be | 13 | # PLY in pull mode. It was designed to work incrementally and it would not be |
14 | # that hard to enable pull mode. | 14 | # that hard to enable pull mode. |
15 | import re | 15 | import re |
16 | try: | ||
17 | s = set() | ||
18 | del s | ||
19 | except NameError: | ||
20 | from Set import Set as set | ||
21 | 16 | ||
22 | from ply import lex | 17 | from ply import lex |
23 | from bb.pysh.sherrors import * | 18 | from bb.pysh.sherrors import * |