There was a bug causing a stack trace in the alias processing code in XmlTemplates. And it actually appears it was there unnoticed for quite a few months.
This patch fixes that.
Signed-off-by: Radek Pazdera rpazdera@redhat.com --- lnst/Common/XmlTemplates.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lnst/Common/XmlTemplates.py b/lnst/Common/XmlTemplates.py index 26db78a..29d90d9 100644 --- a/lnst/Common/XmlTemplates.py +++ b/lnst/Common/XmlTemplates.py @@ -172,7 +172,7 @@ class XmlTemplates: alias_match = re.match(self._alias_re, string) if alias_match: alias_name = alias_match.group(1) - alias_obj = self._find_definition(alias_name) + result = self._find_definition(alias_name)
return result
lnst-developers@lists.fedorahosted.org