[hg] galaxy 2687: Remove session stuff from reports webapp
details: http://www.bx.psu.edu/hg/galaxy/rev/a5ee939839eb changeset: 2687:a5ee939839eb user: Nate Coraor <nate@bx.psu.edu> date: Mon Sep 14 12:11:00 2009 -0400 description: Remove session stuff from reports webapp 1 file(s) affected in this change: lib/galaxy/webapps/reports/buildapp.py diffs (28 lines): diff -r d301a67eda40 -r a5ee939839eb lib/galaxy/webapps/reports/buildapp.py --- a/lib/galaxy/webapps/reports/buildapp.py Mon Sep 14 11:05:36 2009 -0400 +++ b/lib/galaxy/webapps/reports/buildapp.py Mon Sep 14 12:11:00 2009 -0400 @@ -87,17 +87,6 @@ from paste import recursive app = recursive.RecursiveMiddleware( app, conf ) log.debug( "Enabling 'recursive' middleware" ) - ## # Session middleware puts a session factory into the environment - ## if asbool( conf.get( 'use_session', True ) ): - ## store = flup_session.MemorySessionStore() - ## app = flup_session.SessionMiddleware( store, app ) - ## log.debug( "Enabling 'flup session' middleware" ) - # Beaker session middleware - if asbool( conf.get( 'use_beaker_session', False ) ): - pkg_resources.require( "Beaker" ) - import beaker.session - app = beaker.session.SessionMiddleware( app, conf ) - log.debug( "Enabling 'beaker session' middleware" ) # Various debug middleware that can only be turned on if the debug # flag is set, either because they are insecure or greatly hurt # performance @@ -185,4 +174,4 @@ if isinstance( exc_value, AttributeError ) and exc_value.args[0].startswith( "'Undefined' object has no attribute" ): return mako.exceptions.html_error_template().render( full=False, css=False ) formatters.append( mako_html_data ) - return formatters \ No newline at end of file + return formatters
participants (1)
-
Greg Von Kuster