]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: pysh/pyshlex.py: Set is not importable
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 4 Dec 2018 02:06:02 +0000 (10:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Dec 2018 11:07:48 +0000 (11:07 +0000)
>>> 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>
bitbake/lib/bb/pysh/pyshlex.py

index fbf094b7a9cbbc2ac8d9cbe9d74242b411b47a0d..a42c294464121c27db5bac04293edcfbf9015a63 100644 (file)
 # 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 *