diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-02 17:16:27 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-02 17:16:27 +0100 |
commit | e2e86894c1002e15e4ac1708fe179fd0289f0138 (patch) | |
tree | f7e38e89e06a12e6f8dbfdfba3c57912c6a36f47 /meta/packages/tasks | |
parent | a909986a2641ef19de9d36d2d517deb198962996 (diff) | |
download | poky-e2e86894c1002e15e4ac1708fe179fd0289f0138.tar.gz |
task-base: Remove sets usage, deprecated in python
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/tasks')
-rw-r--r-- | meta/packages/tasks/task-base.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/packages/tasks/task-base.bb b/meta/packages/tasks/task-base.bb index 8d0b5fb322..9666e79f85 100644 --- a/meta/packages/tasks/task-base.bb +++ b/meta/packages/tasks/task-base.bb | |||
@@ -128,9 +128,6 @@ python __anonymous () { | |||
128 | 128 | ||
129 | import bb | 129 | import bb |
130 | 130 | ||
131 | if not hasattr(__builtins__, 'set'): | ||
132 | from sets import Set as set | ||
133 | |||
134 | distro_features = set(bb.data.getVar("DISTRO_FEATURES", d, 1).split()) | 131 | distro_features = set(bb.data.getVar("DISTRO_FEATURES", d, 1).split()) |
135 | machine_features= set(bb.data.getVar("MACHINE_FEATURES", d, 1).split()) | 132 | machine_features= set(bb.data.getVar("MACHINE_FEATURES", d, 1).split()) |
136 | 133 | ||