summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 11:19:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 11:38:15 +0100
commitb34d66225f4df23185870feb83626b1aab38bc11 (patch)
treefa1b3ed102107df95149e02cb3421d8a1ac28f83 /bitbake/lib/bb/server
parentcd3c4292e7ccc8934f229fcf010f8615398b87b5 (diff)
downloadpoky-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.py3
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
29import time 29import time
30import bb 30import bb
31import pickle
32import signal 31import signal
33 32
34DEBUG = False 33DEBUG = 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