summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-12-04 10:06:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-09 11:07:48 +0000
commitb3f0b96a25de84423cf14597d0770decdaf38ebb (patch)
treefb784fc199288c87cebc4d02d891585615e59a4b /bitbake
parentcbc102d8fc4a271fad7dd8b4bbe4afba7bc62c07 (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/pysh/pyshlex.py5
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.
15import re 15import re
16try:
17 s = set()
18 del s
19except NameError:
20 from Set import Set as set
21 16
22from ply import lex 17from ply import lex
23from bb.pysh.sherrors import * 18from bb.pysh.sherrors import *