Fix improper parsing of include directive
Resolves rhbz#2017924 Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
This commit is contained in:
parent
bc71399a97
commit
0cc4d57740
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