[oe-commits] [bitbake] 03/04: pysh/pyshlex.py: Set is not importable
git at git.openembedded.org
git at git.openembedded.org
Sat Dec 8 22:39:26 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 118e9d8894e64d102543562314b318676006e710
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Dec 4 10:06:02 2018 +0800
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.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/pysh/pyshlex.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/lib/bb/pysh/pyshlex.py b/lib/bb/pysh/pyshlex.py
index fbf094b..a42c294 100644
--- a/lib/bb/pysh/pyshlex.py
+++ b/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 *
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list