Show More
@@ -26,7 +26,7 b'' | |||
|
26 | 26 | import logging |
|
27 | 27 | import traceback |
|
28 | 28 | from collections import defaultdict |
|
29 | from webob.exc import HTTPForbidden, HTTPBadRequest | |
|
29 | from webob.exc import HTTPForbidden, HTTPBadRequest, HTTPNotFound | |
|
30 | 30 | |
|
31 | 31 | from pylons import tmpl_context as c, url, request, response |
|
32 | 32 | from pylons.i18n.translation import _ |
@@ -204,7 +204,7 b' class ChangesetController(BaseRepoContro' | |||
|
204 | 204 | except (RepositoryError, ChangesetDoesNotExistError, Exception), e: |
|
205 | 205 | log.error(traceback.format_exc()) |
|
206 | 206 | h.flash(str(e), category='error') |
|
207 | return redirect(url('changeset_home', repo_name=c.repo_name)) | |
|
207 | raise HTTPNotFound() | |
|
208 | 208 | |
|
209 | 209 | c.changes = OrderedDict() |
|
210 | 210 |
@@ -33,16 +33,16 b'' | |||
|
33 | 33 | |
|
34 | 34 | </head> |
|
35 | 35 | <body> |
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
36 | <div class="flash_msg"> | |
|
37 | <% messages = h.flash.pop_messages() %> | |
|
38 | % if messages: | |
|
39 | <ul id="flash-messages"> | |
|
40 | % for message in messages: | |
|
41 | <li class="${message.category}_msg">${message}</li> | |
|
42 | % endfor | |
|
43 | </ul> | |
|
44 | % endif | |
|
45 | </div> | |
|
46 | 46 | <div id="login"> |
|
47 | 47 | <div class="table"> |
|
48 | 48 | <div id="main_div"> |
General Comments 0
You need to be logged in to leave comments.
Login now