summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site_scons/site_tools/docbook-xsl-import-scanner.py2
-rw-r--r--site_scons/site_tools/xml-external-entity-scanner.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/site_scons/site_tools/docbook-xsl-import-scanner.py b/site_scons/site_tools/docbook-xsl-import-scanner.py
index 0e2cbe53..ede26bec 100644
--- a/site_scons/site_tools/docbook-xsl-import-scanner.py
+++ b/site_scons/site_tools/docbook-xsl-import-scanner.py
@@ -46,7 +46,7 @@ def DocbookXSLImports(node, env, path):
try:
- infile = file(node.path)
+ infile = file(node.srcnode().path)
except EnvironmentError, e:
if e.errno == errno.ENOENT:
return []
diff --git a/site_scons/site_tools/xml-external-entity-scanner.py b/site_scons/site_tools/xml-external-entity-scanner.py
index 8a44ca15..b12944a4 100644
--- a/site_scons/site_tools/xml-external-entity-scanner.py
+++ b/site_scons/site_tools/xml-external-entity-scanner.py
@@ -46,7 +46,7 @@ def XMLExternalEntities(node, env, path):
raise Finished()
try:
- infile = file(node.path)
+ infile = file(node.srcnode().path)
except EnvironmentError, e:
if e.errno == errno.ENOENT:
return []