Bugfix for tool-to-destination mapping, tool ids are lowercased but the mapping id was not lowercased.

This commit is contained in:
Nate Coraor
2013-09-26 11:02:58 -04:00
parent b741f55330
commit 4850745fcb
+1 -1
View File
@@ -179,7 +179,7 @@ class JobConfiguration( object ):
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')
id = tool.get('id').lower()
if id not in self.tools:
self.tools[id] = list()
self.tools[id].append(JobToolConfiguration(**dict(tool.items())))