mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
task-base: Remove sets usage, deprecated in python
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
31bdfe582e
commit
1c332abfe2
|
@ -90,9 +90,6 @@ python __anonymous () {
|
||||||
|
|
||||||
import bb
|
import bb
|
||||||
|
|
||||||
if not hasattr(__builtins__, 'set'):
|
|
||||||
from sets import Set as set
|
|
||||||
|
|
||||||
distro_features = set(bb.data.getVar("DISTRO_FEATURES", d, 1).split())
|
distro_features = set(bb.data.getVar("DISTRO_FEATURES", d, 1).split())
|
||||||
machine_features= set(bb.data.getVar("MACHINE_FEATURES", d, 1).split())
|
machine_features= set(bb.data.getVar("MACHINE_FEATURES", d, 1).split())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user