commit/galaxy-central: greg: Fix for zero-based comparison in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/9345e15ec4b7/ Changeset: 9345e15ec4b7 User: greg Date: 2013-08-30 19:08:22 Summary: Fix for zero-based comparison in the tool shed. Affected #: 1 file diff -r 55bbaa8f5017e32dbe7968514a4f87b941ed2a0d -r 9345e15ec4b7f81271a071f0703e89fff0c5b3ac lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -2695,7 +2695,7 @@ tool_shed_status_dict[ 'revision_upgrade' ] = 'False' break if metadata_changeset_revision == changeset_revision: - if num_metadata_revisions - index > 0: + if num_metadata_revisions - index > 1: tool_shed_status_dict[ 'revision_upgrade' ] = 'True' else: tool_shed_status_dict[ 'revision_upgrade' ] = 'False' 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