diff options
Diffstat (limited to 'scripts/driver')
| -rw-r--r-- | scripts/driver | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/driver b/scripts/driver index 6b20f4f93..22d6df7ad 100644 --- a/scripts/driver +++ b/scripts/driver @@ -24,9 +24,10 @@ import sys -# Useful for debugging. When an error occurs, this attaches the file name to -# the exception string and re-raises. This will be unnecessary in Python -# 1.5.2, which also does sensible things to most os module functions. +# This function is useful for debugging. When an error occurs, this attaches +# the file name to the exception string and re-raises. This will be +# unnecessary in Python 1.5.2, which also does sensible things to most os +# module functions. realopen = open def open(filename, mode='r', bufsize=-1, realopen=realopen): |
