diff options
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r-- | bitbake-dev/lib/bb/cooker.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index b2b237b4c7..1bf7d4bd14 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py | |||
@@ -25,7 +25,8 @@ | |||
25 | import sys, os, getopt, glob, copy, os.path, re, time | 25 | import sys, os, getopt, glob, copy, os.path, re, time |
26 | import bb | 26 | import bb |
27 | from bb import utils, data, parse, event, cache, providers, taskdata, runqueue | 27 | from bb import utils, data, parse, event, cache, providers, taskdata, runqueue |
28 | from bb import xmlrpcserver, command | 28 | from bb import command |
29 | import bb.server.xmlrpc | ||
29 | import itertools, sre_constants | 30 | import itertools, sre_constants |
30 | 31 | ||
31 | class MultipleMatches(Exception): | 32 | class MultipleMatches(Exception): |
@@ -62,14 +63,13 @@ class BBCooker: | |||
62 | Manages one bitbake build run | 63 | Manages one bitbake build run |
63 | """ | 64 | """ |
64 | 65 | ||
65 | def __init__(self, configuration): | 66 | def __init__(self, configuration, server): |
66 | self.status = None | 67 | self.status = None |
67 | 68 | ||
68 | self.cache = None | 69 | self.cache = None |
69 | self.bb_cache = None | 70 | self.bb_cache = None |
70 | 71 | ||
71 | self.server = bb.xmlrpcserver.BitBakeXMLRPCServer(self) | 72 | self.server = server.BitBakeServer(self) |
72 | #self.server.register_function(self.showEnvironment) | ||
73 | 73 | ||
74 | self.configuration = configuration | 74 | self.configuration = configuration |
75 | 75 | ||
@@ -680,7 +680,7 @@ class BBCooker: | |||
680 | retval = False | 680 | retval = False |
681 | if not retval: | 681 | if not retval: |
682 | self.command.finishAsyncCommand() | 682 | self.command.finishAsyncCommand() |
683 | bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures)) | 683 | bb.event.fire(bb.event.BuildCompleted(buildname, item, self.configuration.event_data, failures)) |
684 | return False | 684 | return False |
685 | return 0.5 | 685 | return 0.5 |
686 | 686 | ||