pkglistgen: Don't upper case the staging letter

This commit is contained in:
Stephan Kulow 2019-03-11 15:19:43 +01:00
parent bb2cb5c6f0
commit b75f6c7f49

View File

@ -112,7 +112,7 @@ class CommandLineInterface(ToolBase.CommandLineInterface):
for scope in opts.scope:
if scope.startswith('staging:'):
letter = re.match('staging:(.*)', scope).group(1)
solve_project(api.prj_from_short(letter.upper()), 'staging')
solve_project(api.prj_from_short(letter), 'staging')
elif scope == 'target':
solve_project(target_project, scope)
elif scope == 'rings':