commit/galaxy-central: greg: Retain and display more errors if they occurred during repository creation and population when importing a repository capsule into a tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/709c4b85bc41/ Changeset: 709c4b85bc41 User: greg Date: 2014-01-08 16:10:05 Summary: Retain and display more errors if they occurred during repository creation and population when importing a repository capsule into a tool shed. Affected #: 1 file diff -r 796cf860956c4f61b873335e502a8db4a0d7e951 -r 709c4b85bc411e5424c9536435d76fa4ee62781e lib/tool_shed/util/repository_maintenance_util.py --- a/lib/tool_shed/util/repository_maintenance_util.py +++ b/lib/tool_shed/util/repository_maintenance_util.py @@ -154,6 +154,9 @@ # Populate the new repository with the contents of exported repository archive. results_dict = import_util.import_repository_archive( trans, repository, repository_archive_dict ) ok = results_dict.get( 'ok', False ) + error_message = results_dict.get( 'error_message', '' ) + if error_message: + results_message += error_message import_results_tups.append( ( ok, ( str( name ), str( username ) ), results_message ) ) else: # The repository either already exists in this Tool Shed or the current user is not authorized to create it. 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