Merge pull request #10720 from mscherer/fix_roles_requirements

Fix variable name
This commit is contained in:
Toshio Kuratomi 2015-04-15 09:14:15 -07:00
commit 1aff837ab8

View file

@ -92,7 +92,7 @@ class RoleRequirement(RoleDefinition):
ds["scm"] = scm
ds["src"] = src
if 'name' in role:
if 'name' in ds:
ds["role"] = ds["name"]
del ds["name"]
else: