commit/galaxy-central: carlfeberhard: Fix to dcc0c19 when configuration controller isn't present
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5e079414e9f9/ Changeset: 5e079414e9f9 User: carlfeberhard Date: 2014-04-15 21:27:18 Summary: Fix to dcc0c19 when configuration controller isn't present Affected #: 1 file diff -r b8c2e002769773350c8bc729f099110cc26d9d01 -r 5e079414e9f9ca489229816553e5133f5b3d5c0e templates/galaxy_client_app.mako --- a/templates/galaxy_client_app.mako +++ b/templates/galaxy_client_app.mako @@ -4,13 +4,12 @@ ## Bootstap dictionaries for GalaxyApp object's JSON, create GalaxyApp, ## and steal existing attributes from plain objects already created <% - config_dict = ( trans.webapp.api_controllers[ 'configuration' ] - .get_config_dict( trans.app.config, trans.user_is_admin() ) ) - #import pprint - #pprint.pprint( config_dict ) + config_dict = {} + if 'configuration' in trans.webapp.api_controllers: + config_dict = ( trans.webapp.api_controllers[ 'configuration' ] + .get_config_dict( trans.app.config, trans.user_is_admin() ) ) user_dict = self.get_user_dict() - #pprint.pprint( user_dict ) # genomes # datatypes 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)
-
commits-noreply@bitbucket.org