diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-08 13:36:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-12 00:01:49 +0100 |
commit | a8be6d4bb18232f13ffcaaf1a4137322db59fe48 (patch) | |
tree | a5faf6af828e1ea571bf862f9c35c3d69e481d4e /bitbake/lib/toaster/toastergui/widgets.py | |
parent | 88dca45a703867581084d15368b7c68117b3184c (diff) | |
download | poky-a8be6d4bb18232f13ffcaaf1a4137322db59fe48.tar.gz |
bitbake: toastergui: remove xhr_datatypeahead and xhr_XXXbuild
We remove the endpoints for XHR on the toastergui application.
The endpoints are now replaced with calls to the respective
REST endpoints (i.e. projectlayers, projecttargets, projectmachines).
(Bitbake rev: 8e7a2c3b125a34fd9d6fa0442ab13290137ecc51)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 8bc3d7f160..f5a1b3e7b9 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
@@ -253,8 +253,8 @@ class ToasterTable(TemplateView): | |||
253 | 253 | ||
254 | data = cache.get(cache_name) | 254 | data = cache.get(cache_name) |
255 | 255 | ||
256 | if data: | 256 | #if data: |
257 | return data | 257 | # return data |
258 | 258 | ||
259 | self.setup_columns(**kwargs) | 259 | self.setup_columns(**kwargs) |
260 | 260 | ||
@@ -277,9 +277,9 @@ class ToasterTable(TemplateView): | |||
277 | 'default_orderby' : self.default_orderby, | 277 | 'default_orderby' : self.default_orderby, |
278 | 'columns' : self.columns, | 278 | 'columns' : self.columns, |
279 | 'rows' : [], | 279 | 'rows' : [], |
280 | 'error' : "ok", | ||
280 | } | 281 | } |
281 | 282 | ||
282 | |||
283 | try: | 283 | try: |
284 | for row in page.object_list: | 284 | for row in page.object_list: |
285 | #Use collection to maintain the order | 285 | #Use collection to maintain the order |