diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index d9b3dc74dfc..b46e3226eb0 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -2517,7 +2517,7 @@ class SortTool(DatabaseOperationTool): try: sorted_elements = [old_elements_dict[line.strip()] for line in open(hda.file_name)] except KeyError: - hdca_history_name = "%s: %s" (hdca.hid, hdca.name) + hdca_history_name = "%s: %s" % (hdca.hid, hdca.name) message = "List of element identifiers does not match element identifiers in collection '%s'" % hdca_history_name raise Exception(message)