commit 62ee9f67baf01c4ef96915fa922c9a7c4134f8bc
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Mon Oct 8 15:37:57 2012 +0200
Forgot to change file_path to new RecipePath in case of error
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Common/XmlProcessing.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Common/XmlProcessing.py b/Common/XmlProcessing.py
index 2ae5f4c..b3c0109 100644
--- a/Common/XmlProcessing.py
+++ b/Common/XmlProcessing.py
@@ -302,7 +302,7 @@ class RecipeParser(XmlParser):
loaded_node = dom.getElementsByTagName(node.nodeName)[0]
except Exception:
msg = ("No '%s' element present in included file
'%s'."
- % (node.nodeName, file_path))
+ % (node.nodeName, source_rp.abs_path()))
raise XmlProcessingError(msg, node)
old_attrs = self._get_all_attributes(node)
Show replies by date