commit/galaxy-central: dannon: page controller: fix invalid error syntax, remove unused import.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ec543816a2a2/ changeset: ec543816a2a2 user: dannon date: 2013-01-15 16:34:58 summary: page controller: fix invalid error syntax, remove unused import. affected #: 1 file diff -r 8d2fe975c13c33439167903653c6c06217cab764 -r ec543816a2a2b6fea98e3353e65f9e9c30d62cbe lib/galaxy/webapps/galaxy/controllers/page.py --- a/lib/galaxy/webapps/galaxy/controllers/page.py +++ b/lib/galaxy/webapps/galaxy/controllers/page.py @@ -6,7 +6,6 @@ from galaxy.web.framework.helpers import time_ago, grids from galaxy import util from galaxy.util.sanitize_html import sanitize_html, _BaseHTMLProcessor -from galaxy.util.odict import odict from galaxy.util.json import from_json_string def format_bool( b ): @@ -716,7 +715,7 @@ id = trans.security.decode_id( id ) page = trans.sa_session.query( model.Page ).get( id ) if not page: - err+msg( "Page not found" ) + error( "Page not found" ) else: return self.security_check( trans, page, check_ownership, check_accessible ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket