summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-11-05 04:48:40 +0000
committerianb <devnull@localhost>2005-11-05 04:48:40 +0000
commit58c5f2dd2c8a156327c5c0d7ac4df13fb7bca41b (patch)
tree1677c25e98ebb4a57907180889e00b12f3f54a23
parentaf58a3a3c216bb5ee9fd8a04d613d72f0b6c0aba (diff)
downloadpaste-58c5f2dd2c8a156327c5c0d7ac4df13fb7bca41b.tar.gz
get rid of tracebacks printed, when we want to catch and ignore the traceback entirely
-rw-r--r--paste/util/PySourceColor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/util/PySourceColor.py b/paste/util/PySourceColor.py
index 0a6c7fa..f23c328 100644
--- a/paste/util/PySourceColor.py
+++ b/paste/util/PySourceColor.py
@@ -1316,7 +1316,7 @@ class Parser(object):
line = ex[1][0]
self.out.write("<h3>ERROR: %s</h3>%s\n"%
(msg, self.raw[self.lines[line]:]))
- traceback.print_exc()
+ #traceback.print_exc()
# Markup end
if self.addEnds: