diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 11:19:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 11:38:15 +0100 |
commit | b34d66225f4df23185870feb83626b1aab38bc11 (patch) | |
tree | fa1b3ed102107df95149e02cb3421d8a1ac28f83 /bitbake/lib/bb/server | |
parent | cd3c4292e7ccc8934f229fcf010f8615398b87b5 (diff) | |
download | poky-b34d66225f4df23185870feb83626b1aab38bc11.tar.gz |
bitbake none/xmlrpc servers: Only send pickled events to the xmlrpc server
Only the xmlrpc server needs pickled events. Use the function names
to signify this requirement.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
-rw-r--r-- | bitbake/lib/bb/server/none.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/none.py b/bitbake/lib/bb/server/none.py index 6083631fe7..3be7b1daf6 100644 --- a/bitbake/lib/bb/server/none.py +++ b/bitbake/lib/bb/server/none.py | |||
@@ -28,7 +28,6 @@ | |||
28 | 28 | ||
29 | import time | 29 | import time |
30 | import bb | 30 | import bb |
31 | import pickle | ||
32 | import signal | 31 | import signal |
33 | 32 | ||
34 | DEBUG = False | 33 | DEBUG = False |
@@ -68,7 +67,7 @@ class BBUIEventQueue: | |||
68 | self.parent = parent | 67 | self.parent = parent |
69 | @staticmethod | 68 | @staticmethod |
70 | def send(event): | 69 | def send(event): |
71 | bb.server.none.eventQueue.append(pickle.loads(event)) | 70 | bb.server.none.eventQueue.append(event) |
72 | @staticmethod | 71 | @staticmethod |
73 | def quit(): | 72 | def quit(): |
74 | return | 73 | return |