1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/e4a8cdf0b372/
Changeset: e4a8cdf0b372
User: greg
Date: 2013-06-25 15:51:26
Summary: Fix the Galaxy API for installing tool shed repositories when attempting to
install a repository that was previously installed but is not longer in the installed
state.
Affected #: 1 file
diff -r 1cbd7fb4e7e1350a489534779545534d82607db7 -r
e4a8cdf0b3722bbce79a55e5ed7e70306f39885a
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
@@ -266,11 +266,7 @@
action='show',
id=trans.security.encode_id( tool_shed_repository.id ) )
installed_tool_shed_repositories.append( tool_shed_repository_dict )
- elif message:
- log.error( message, exc_info=True )
- trans.response.status = 500
- return dict( status='error', error=message )
- elif not created_or_updated_tool_shed_repositories and not message:
+ else:
# We're attempting to install more than 1 repository, and all of them
have already been installed.
return dict( status='error', error='All repositories that you are
attempting to install have been previously installed.' )
# Display the list of installed repositories.
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.