diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/bbcontroller.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/bbcontroller.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 1387bdaa7b..f228d37459 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py | |||
@@ -138,7 +138,7 @@ class BuildEnvironmentController(object): | |||
138 | After this method executes, self.be bbaddress/bbport MUST point to a running and free server, | 138 | After this method executes, self.be bbaddress/bbport MUST point to a running and free server, |
139 | and the bbstate MUST be updated to "started". | 139 | and the bbstate MUST be updated to "started". |
140 | """ | 140 | """ |
141 | raise Exception("FIXME: Must override in order to actually start the BB server") | 141 | raise NotImplementedError("FIXME: Must override in order to actually start the BB server") |
142 | 142 | ||
143 | 143 | ||
144 | def setLayers(self, bitbake, ls): | 144 | def setLayers(self, bitbake, ls): |
@@ -149,7 +149,7 @@ class BuildEnvironmentController(object): | |||
149 | 149 | ||
150 | a word of attention: by convention, the first layer for any build will be poky! | 150 | a word of attention: by convention, the first layer for any build will be poky! |
151 | """ | 151 | """ |
152 | raise Exception("FIXME: Must override setLayers") | 152 | raise NotImplementedError("FIXME: Must override setLayers") |
153 | 153 | ||
154 | 154 | ||
155 | def getBBController(self): | 155 | def getBBController(self): |
@@ -176,16 +176,16 @@ class BuildEnvironmentController(object): | |||
176 | up to the implementing BEC. The return MUST be a REST URL where a GET will actually return | 176 | up to the implementing BEC. The return MUST be a REST URL where a GET will actually return |
177 | the content of the artifact, e.g. for use as a "download link" in a web UI. | 177 | the content of the artifact, e.g. for use as a "download link" in a web UI. |
178 | """ | 178 | """ |
179 | raise Exception("Must return the REST URL of the artifact") | 179 | raise NotImplementedError("Must return the REST URL of the artifact") |
180 | 180 | ||
181 | def release(self): | 181 | def release(self): |
182 | """ This stops the server and releases any resources. After this point, all resources | 182 | """ This stops the server and releases any resources. After this point, all resources |
183 | are un-available for further reference | 183 | are un-available for further reference |
184 | """ | 184 | """ |
185 | raise Exception("Must override BE release") | 185 | raise NotImplementedError("Must override BE release") |
186 | 186 | ||
187 | def triggerBuild(self, bitbake, layers, variables, targets): | 187 | def triggerBuild(self, bitbake, layers, variables, targets): |
188 | raise Exception("Must override BE release") | 188 | raise NotImplementedError("Must override BE release") |
189 | 189 | ||
190 | class ShellCmdException(Exception): | 190 | class ShellCmdException(Exception): |
191 | pass | 191 | pass |