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 | poky-81ff3a90f8f4ee0a00c439be9a1438de6c2ec168.tar.gz | |
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 | |||
| 23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 23 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 
| 24 | 24 | ||
| 25 | from bb import msg, data, event, mkdirhier, utils | 25 | from bb import msg, data, event, mkdirhier, utils | 
| 26 | from sets import Set | ||
| 27 | import bb, os, sys | 26 | import bb, os, sys | 
| 28 | import signal | 27 | import signal | 
| 29 | import stat | 28 | import stat | 
| @@ -525,8 +524,8 @@ class RunQueue: | |||
| 525 | 524 | ||
| 526 | self.runq_fnid.append(taskData.tasks_fnid[task]) | 525 | self.runq_fnid.append(taskData.tasks_fnid[task]) | 
| 527 | self.runq_task.append(taskData.tasks_name[task]) | 526 | self.runq_task.append(taskData.tasks_name[task]) | 
| 528 | self.runq_depends.append(Set(depends)) | 527 | self.runq_depends.append(set(depends)) | 
| 529 | self.runq_revdeps.append(Set()) | 528 | self.runq_revdeps.append(set()) | 
| 530 | 529 | ||
| 531 | runq_build.append(0) | 530 | runq_build.append(0) | 
| 532 | 531 | ||
| @@ -622,7 +621,7 @@ class RunQueue: | |||
| 622 | if maps[origdep] == -1: | 621 | if maps[origdep] == -1: | 
| 623 | bb.msg.fatal(bb.msg.domain.RunQueue, "Invalid mapping - Should never happen!") | 622 | bb.msg.fatal(bb.msg.domain.RunQueue, "Invalid mapping - Should never happen!") | 
| 624 | newdeps.append(maps[origdep]) | 623 | newdeps.append(maps[origdep]) | 
| 625 | self.runq_depends[listid] = Set(newdeps) | 624 | self.runq_depends[listid] = set(newdeps) | 
| 626 | 625 | ||
| 627 | bb.msg.note(2, bb.msg.domain.RunQueue, "Assign Weightings") | 626 | bb.msg.note(2, bb.msg.domain.RunQueue, "Assign Weightings") | 
| 628 | 627 | ||
