Mercurial > kallithea
changeset 2970:6248c6fb1fcf beta
fixed badRequest on views decorated by @jsonify
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 28 Oct 2012 22:56:48 +0100 |
parents | 5085e51fba3a |
children | 2bfcec6a3985 |
files | rhodecode/controllers/home.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/home.py Sat Oct 27 15:36:53 2012 +0200 +++ b/rhodecode/controllers/home.py Sun Oct 28 22:56:48 2012 +0100 @@ -108,7 +108,7 @@ simple=True) return render('/repo_switcher_list.html') else: - return HTTPBadRequest() + raise HTTPBadRequest() def branch_tag_switcher(self, repo_name): if request.is_xhr: @@ -116,4 +116,4 @@ c.rhodecode_repo = c.rhodecode_db_repo.scm_instance return render('/switch_to_list.html') else: - return HTTPBadRequest() + raise HTTPBadRequest()