commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/cfdcd1bd7681/ changeset: cfdcd1bd7681 user: Kyle Ellrott date: 2012-12-01 00:32:47 summary: Adding handler for httpexceptions.HTTPFound, so that the redirect tool will work (rather then causing an error) affected #: 1 file diff -r 88aba66bb81351cbd625ca7fb9ed39874016b36a -r cfdcd1bd7681ddb38fb4d71fcdedd5ebaf1385b6 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -36,6 +36,8 @@ from galaxy.util.shed_util_common import * from galaxy.web import url_for +from paste import httpexceptions + from galaxy.visualization.genome.visual_analytics import TracksterConfig log = logging.getLogger( __name__ ) @@ -1790,6 +1792,9 @@ elif state.page == self.last_page: try: _, out_data = self.execute( trans, incoming=params, history=history ) + except httpexceptions.HTTPFound, e: + #if it's a paste redirect exception, pass it up the stack + raise e except Exception, e: log.exception('Exception caught while attempting tool execution:') return 'message.mako', dict( status='error', message='Error executing tool: %s' % str(e), refresh_frames=[] ) https://bitbucket.org/galaxy/galaxy-central/commits/b1a778e027ff/ changeset: b1a778e027ff user: dannon date: 2013-01-28 18:57:28 summary: Merged in kellrott/galaxy-central (pull request #92) Adding handler for httpexceptions.HTTPFound, so that the redirect tool will work (rather then causing an error) affected #: 1 file 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