Merge "python-builder: drop # from line"

This commit is contained in:
Zuul 2020-05-07 17:10:48 +00:00 committed by Gerrit Code Review
commit 643b1d0541

View File

@ -28,6 +28,8 @@ def get_extras_packages(path):
for name, packages in config.items():
for package in packages.split('\n'):
package = package.strip()
if '#' in package:
package = package.split('#')[0]
if not package:
continue
extras.add(package)