lsprop: make included paths absolute
This commit is contained in:
parent
9c2b9af40d
commit
1a2dd7e63e
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class parse_xml_file(xml.sax.handler.ContentHandler):
|
|||
self.type = attrs["type"]
|
||||
|
||||
if attrs.has_key("include"):
|
||||
path = os.path.dirname(self.path) + "/" + attrs["include"]
|
||||
path = os.path.dirname(os.path.abspath(self.path)) + "/" + attrs["include"]
|
||||
if attrs.has_key("omit-node") and attrs["omit-node"] == "y" or self.level == 1:
|
||||
self.stack.append([None, None, self.stack[-1][2], []])
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue