diff options
Diffstat (limited to 'bitbake/lib/bb/server/xmlrpc.py')
-rw-r--r-- | bitbake/lib/bb/server/xmlrpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py index b7647c198f..17eb28b7d4 100644 --- a/bitbake/lib/bb/server/xmlrpc.py +++ b/bitbake/lib/bb/server/xmlrpc.py | |||
@@ -97,10 +97,10 @@ class BitBakeServerCommands(): | |||
97 | 97 | ||
98 | # we don't allow connections if the cooker is running | 98 | # we don't allow connections if the cooker is running |
99 | if (self.cooker.state in [bb.cooker.state.parsing, bb.cooker.state.running]): | 99 | if (self.cooker.state in [bb.cooker.state.parsing, bb.cooker.state.running]): |
100 | return None | 100 | return None, "Cooker is busy: %s" % bb.cooker.state.get_name(self.cooker.state) |
101 | 101 | ||
102 | self.event_handle = bb.event.register_UIHhandler(s, True) | 102 | self.event_handle = bb.event.register_UIHhandler(s, True) |
103 | return self.event_handle | 103 | return self.event_handle, 'OK' |
104 | 104 | ||
105 | def unregisterEventHandler(self, handlerNum): | 105 | def unregisterEventHandler(self, handlerNum): |
106 | """ | 106 | """ |