diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-12 16:53:22 +0100 |
commit | 81ff3a90f8f4ee0a00c439be9a1438de6c2ec168 (patch) | |
tree | 2bfed600f98fc2095ff7cfcf974e012627e826fc /bitbake/lib/bb/runqueue.py | |
parent | 22a4c4d02fa9a90903361780b0492c5d8e488af8 (diff) | |
download | openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.bz2 openembedded-core-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.zip |
bitbake: Update to work without warnings with python 2.6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 2df51de75a..9b3cbdf5db 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -23,7 +23,6 @@ Handles preparation and execution of a queue of tasks # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. from bb import msg, data, event, mkdirhier, utils -from sets import Set import bb, os, sys import signal import stat @@ -525,8 +524,8 @@ class RunQueue: self.runq_fnid.append(taskData.tasks_fnid[task]) self.runq_task.append(taskData.tasks_name[task]) - self.runq_depends.append(Set(depends)) - self.runq_revdeps.append(Set()) + self.runq_depends.append(set(depends)) + self.runq_revdeps.append(set()) runq_build.append(0) @@ -622,7 +621,7 @@ class RunQueue: if maps[origdep] == -1: bb.msg.fatal(bb.msg.domain.RunQueue, "Invalid mapping - Should never happen!") newdeps.append(maps[origdep]) - self.runq_depends[listid] = Set(newdeps) + self.runq_depends[listid] = set(newdeps) bb.msg.note(2, bb.msg.domain.RunQueue, "Assign Weightings") |