Include bundle in list for --bundles

This was already the default behavior for pundles, but not for regularly
defined bundles.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
Matthew Johnson
2018-04-17 13:30:10 -07:00
parent 3e7922424f
commit c63a96da1b
+3
View File
@@ -30,6 +30,9 @@ def resolve_includes(bundle_name, bundle_path, bundles=False):
return set(), False
packages = set()
if bundles:
packages.add(bundle_name)
for line in lines:
line = line.split("#", 1)[0].strip()
if not line: