diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-01-30 18:18:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-10 23:07:49 +0000 |
commit | 6969a3d3ea1a428ae151669317e49b32ac198062 (patch) | |
tree | a4939f7ac07f97c9b1c5a183a99754fa803fa384 /bitbake/lib | |
parent | b2a903e1bae32889d5eef3af590489486e6acffc (diff) | |
download | poky-6969a3d3ea1a428ae151669317e49b32ac198062.tar.gz |
bitbake: toaster: machines Fix undefined variables
pagesize and orderby were undefined causing an error to be thrown when
browsing to the all machines page
(Bitbake rev: 388cfb26695ffd6ac0498e5de571cd4a5e083f8b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 9567e626be..73a5c7e99f 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2774,6 +2774,7 @@ if toastermain.settings.MANAGED: | |||
2774 | # define here what parameters the view needs in the GET portion in order to | 2774 | # define here what parameters the view needs in the GET portion in order to |
2775 | # be able to display something. 'count' and 'page' are mandatory for all views | 2775 | # be able to display something. 'count' and 'page' are mandatory for all views |
2776 | # that use paginators. | 2776 | # that use paginators. |
2777 | (pagesize, orderby) = _get_parameters_values(request, 10, 'updated:+') | ||
2777 | mandatory_parameters = { 'count': 10, 'page' : 1, 'orderby' : 'name:+' }; | 2778 | mandatory_parameters = { 'count': 10, 'page' : 1, 'orderby' : 'name:+' }; |
2778 | retval = _verify_parameters( request.GET, mandatory_parameters ) | 2779 | retval = _verify_parameters( request.GET, mandatory_parameters ) |
2779 | if retval: | 2780 | if retval: |