diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-10 13:12:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-10 13:24:04 +0000 |
commit | 2c2d160c889ac03e47f58219375d558b8b9ce358 (patch) | |
tree | 44def941a3f0223a7992bdc8ac58d0dd9f34eac8 /bitbake/lib/bb/event.py | |
parent | 9336ba1fd2ae750d3d399cc046896ef50f4cc0ed (diff) | |
download | poky-2c2d160c889ac03e47f58219375d558b8b9ce358.tar.gz |
bitbake: Update event queue handling to match upstream bitbake
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 8b45501c00..450d913633 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -129,13 +129,11 @@ def fire(event, d): | |||
129 | def worker_fire(event, d): | 129 | def worker_fire(event, d): |
130 | data = "<event>" + pickle.dumps(event) + "</event>" | 130 | data = "<event>" + pickle.dumps(event) + "</event>" |
131 | worker_pipe.write(data) | 131 | worker_pipe.write(data) |
132 | worker_pipe.flush() | ||
133 | 132 | ||
134 | def fire_from_worker(event, d): | 133 | def fire_from_worker(event, d): |
135 | if not event.startswith("<event>") or not event.endswith("</event>"): | 134 | if not event.startswith("<event>") or not event.endswith("</event>"): |
136 | print("Error, not an event %s" % event) | 135 | print("Error, not an event %s" % event) |
137 | return | 136 | return |
138 | #print "Got event %s" % event | ||
139 | event = pickle.loads(event[7:-8]) | 137 | event = pickle.loads(event[7:-8]) |
140 | fire_ui_handlers(event, d) | 138 | fire_ui_handlers(event, d) |
141 | 139 | ||