summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/scons-doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/scons-doc.py b/bin/scons-doc.py
index df35393..14e862c 100644
--- a/bin/scons-doc.py
+++ b/bin/scons-doc.py
@@ -818,7 +818,7 @@ def process(filename):
try:
f = open(filename, 'r')
except EnvironmentError, e:
- sys.stderr.write('%s: %s\n' % (filename, msg))
+ sys.stderr.write('%s: %s\n' % (filename, e))
return 1
data = f.read()