generic-poky/bitbake/lib
Elliot Smith 441f04ce97 bitbake: toaster: Simplify redirects when build page parameters are missing
A RedirectException is used to redirect the client to the
correct page when their original request is missing the
required parameters (page, orderby etc.). However, the code
is difficult to follow.

Rather than catching RedirectExceptions and rethrowing them with
different view URLs, ensure that the RedirectException has the
correct URL in it when thrown by passing the original page
name to the _build_list_helper() method.

Modified from an original patch by
David Reyna <david.reyna@windriver.com>.

(Bitbake rev: 38f935647dd768a912b933adebfc9cb225a01a54)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-18 09:05:36 +01:00
..
bb bitbake: tests/fetch.py: Fix recursion failure in url mapping 2015-09-18 09:05:34 +01:00
bs4 bitbake: bs4: Add beautifulsoup 4.3.2 to assist the fetcher 2014-11-06 16:45:23 +00:00
ply Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
prserv bitbake: prserv: SIGTERM and deamonization fixes 2015-09-09 14:27:56 +01:00
toaster bitbake: toaster: Simplify redirects when build page parameters are missing 2015-09-18 09:05:36 +01:00
codegen.py Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
progressbar.py bitbake: progressbar: use '/usr/bin/env' in shebangs with python 2014-11-12 15:25:17 +00:00
pyinotify.py bitbake: bitbake: Add pyinotify to lib/ 2015-01-14 11:32:02 +00:00