From cdf79f5004eb4a03e0b65e5eda71a2d74e1c0c72 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 8 Aug 2010 13:59:01 -0700 Subject: Fixed web CGI tracebacks to properly report sys.path. Bug #615114. --- scripts/driver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/driver') 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. -- cgit v1.2.3