aboutsummaryrefslogtreecommitdiffstats
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
parente6b372f79cf7924721cee5cf69127b1d90dbcb1e (diff)
downloadmailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.tar.gz
mailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.tar.xz
mailman2-cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72.zip
Fixed web CGI tracebacks to properly report sys.path. Bug #615114.
-rw-r--r--NEWS2
-rw-r--r--scripts/driver4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index faa9c4ea..c88475a0 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,8 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Fixed web CGI tracebacks to properly report sys.path. Bug #615114.
+
- Changed the member options login page unsubscribe request to include the
requesters IP address in the confirmation request. Bug #610527.
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.