commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a6af49ec80a8/ Changeset: a6af49ec80a8 User: BjoernGruening Date: 2014-02-27 09:40:35 Summary: strip trailing slashes in tool IDs Affected #: 1 file diff -r ce7e90f9576ba51317508de0749a277e8d7f58bb -r a6af49ec80a89548af58750c87c67589ef7a0d9a lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -181,7 +181,7 @@ if tools is not None: for tool in self.__findall_with_required(tools, 'tool'): # There can be multiple definitions with identical ids, but different params - id = tool.get('id').lower() + id = tool.get('id').lower().strip('/') if id not in self.tools: self.tools[id] = list() self.tools[id].append(JobToolConfiguration(**dict(tool.items()))) https://bitbucket.org/galaxy/galaxy-central/commits/a6fff5c62ceb/ Changeset: a6fff5c62ceb User: BjoernGruening Date: 2014-02-27 11:12:49 Summary: change strip to rstrip as proposed by Nicola Affected #: 1 file diff -r a6af49ec80a89548af58750c87c67589ef7a0d9a -r a6fff5c62ceb6b73ffa67eb5ba8854adc8860eb7 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -181,7 +181,7 @@ if tools is not None: for tool in self.__findall_with_required(tools, 'tool'): # There can be multiple definitions with identical ids, but different params - id = tool.get('id').lower().strip('/') + id = tool.get('id').lower().rstrip('/') if id not in self.tools: self.tools[id] = list() self.tools[id].append(JobToolConfiguration(**dict(tool.items()))) 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