Fix error raised for multiple virtual packages. (#3306)
This commit is contained in:
parent
37eb59622d
commit
7ef95767ee
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ def get_packages_config():
|
|||
if virtuals:
|
||||
errors = ["%s: %s" % (line_info, name) for name, line_info in virtuals]
|
||||
raise VirtualInPackagesYAMLError(
|
||||
"packages.yaml entries cannot be virtual packages:", *errors)
|
||||
"packages.yaml entries cannot be virtual packages:",
|
||||
'\n'.join(errors))
|
||||
|
||||
return config
|
||||
|
||||
|
|
Loading…
Reference in a new issue