commit/galaxy-central: dannon: Add missing imports to tool shed repository API. Add NERD_tree_2fixme for variable used out of context
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7b58daa018e1/ Changeset: 7b58daa018e1 User: dannon Date: 2013-04-09 19:42:27 Summary: Add missing imports to tool shed repository API. Add NERD_tree_2fixme for variable used out of context Affected #: 1 file diff -r 5ab62ddc6b7d0b1f0494bac7dadd466ca0b963e8 -r 7b58daa018e17ce6d48393596b05be6ba823f117 lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py --- a/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py +++ b/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py @@ -1,9 +1,13 @@ import logging import urllib2 -from galaxy.util import json + +from paste.httpexceptions import HTTPBadRequest, HTTPForbidden + from galaxy import util from galaxy import web +from galaxy.util import json from galaxy.web.base.controller import BaseAPIController + from tool_shed.galaxy_install import repository_util import tool_shed.util.shed_util_common as suc @@ -182,6 +186,7 @@ if shed_tool_conf: # Get the tool_path setting. index, shed_conf_dict = suc.get_shed_tool_conf_dict( trans.app, shed_tool_conf ) + # BUG, FIXME: Shed config dict does not exist in this context tool_path = shed_config_dict[ 'tool_path' ] else: # Pick a semi-random shed-related tool panel configuration file and get the tool_path setting. 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