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 | openembedded-core-contrib-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 @@ # PLY in pull mode. It was designed to work incrementally and it would not be # that hard to enable pull mode. import re -try: - s = set() - del s -except NameError: - from Set import Set as set from ply import lex from bb.pysh.sherrors import * |