summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcgi/edithtml10
1 files changed, 8 insertions, 2 deletions
diff --git a/cgi/edithtml b/cgi/edithtml
index 75ba77929..01fef95a3 100755
--- a/cgi/edithtml
+++ b/cgi/edithtml
@@ -1,10 +1,16 @@
#!/usr/local/bin/python
-import sys, os, cgi, string, crypt, types
-sys.stderr = sys.stdout
+import sys
sys.path.append('/home/mailman/mailman/modules')
+import os, cgi, string, crypt, types
import mm_utils, maillist, mm_cfg
import htmlformat
+try:
+ sys.stderr = mm_utils.StampedLogger("error", label = 'mmroster',
+ manual_reprime=1, nofail=0)
+except IOError:
+ pass # Oh well - SOL on redirect, errors show thru.
+
#Editable templates. We should also be able to edit the archive index, which
#currently isn't a working template, but will be soon.