aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/driver
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2010-08-08 13:59:01 -0700
committerMark Sapiro <mark@msapiro.net>2010-08-08 13:59:01 -0700
commitcdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72 (patch)
tree9fa72f8c9cdaab61ca3b5a6c6762f78b7f556000 /scripts/driver
parente6b372f79cf7924721cee5cf69127b1d90dbcb1e (diff)
downloadmailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.tar.gz
mailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.tar.xz
mailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.zip
Fixed web CGI tracebacks to properly report sys.path. Bug #615114.
Diffstat (limited to '')
-rw-r--r--scripts/driver4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/driver b/scripts/driver
index dbe219da..a0b6b8c6 100644
--- a/scripts/driver
+++ b/scripts/driver
@@ -1,6 +1,6 @@
# -*- python -*-
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -196,7 +196,7 @@ def print_environment(logfp=None):
print >> logfp, 'sys.executable =', sys.executable
print >> logfp, 'sys.prefix =', sys.prefix
print >> logfp, 'sys.exec_prefix =', sys.exec_prefix
- print >> logfp, 'sys.path =', sys.exec_prefix
+ print >> logfp, 'sys.path =', sys.path
print >> logfp, 'sys.platform =', sys.platform
# Write the same information to the HTML sink.