Merge pull request #401 from jmencak/rhbz2017924
Fix improper parsing of include directive
This commit is contained in:
commit
c34a0e8a36
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class Loader(object):
|
|||
config = self._load_config_data(filename)
|
||||
profile = self._profile_factory.create(name, config)
|
||||
if "include" in profile.options:
|
||||
include_names = re.split(r"\b\s*[,;]\s*", self._variables.expand(profile.options.pop("include")))
|
||||
include_names = re.split(r"\s*[,;]\s*", self._variables.expand(profile.options.pop("include")))
|
||||
self._load_profile(include_names, profiles, processed_files)
|
||||
|
||||
profiles.append(profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue