diff options
| author | mailman | 1998-03-20 17:49:54 +0000 |
|---|---|---|
| committer | mailman | 1998-03-20 17:49:54 +0000 |
| commit | 93584779297c2db51351e77f3a37a97bb97345c1 (patch) | |
| tree | daedc05487d1e63f79085be045d841a563ad474a /cgi/handle_opts | |
| parent | 483ddb0de161790c718b8b909ded9fa21e52d4a3 (diff) | |
| download | mailman-93584779297c2db51351e77f3a37a97bb97345c1.tar.gz mailman-93584779297c2db51351e77f3a37a97bb97345c1.tar.zst mailman-93584779297c2db51351e77f3a37a97bb97345c1.zip | |
Remove debugging writes to a gratuitous file (preexistence of which
could block operation).
Diffstat (limited to 'cgi/handle_opts')
| -rwxr-xr-x | cgi/handle_opts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cgi/handle_opts b/cgi/handle_opts index 7c0809b2f..16047d68e 100755 --- a/cgi/handle_opts +++ b/cgi/handle_opts @@ -1,9 +1,7 @@ #!/usr/local/bin/python import sys, os, cgi, string -f = open('/tmp/cbgb', 'a+') -sys.stderr = f -#sys.stderr = sys.stdout +sys.stderr = sys.stdout sys.path.append('/home/mailman/mailman/modules') import mm_utils, maillist, mm_err, mm_cfg, htmlformat @@ -106,7 +104,6 @@ exactly what you did to get this error.<p>''' % (mm_cfg.MAILMAN_OWNER, mm_cfg.MA else: PrintResults("You must supply your old password, and your new password twice.") else: - f.write("User = %s\n" % user) # If keys don't exist, set them to whatever they were. (essentially a noop) if form.has_key("digest"): digest_value = eval(form["digest"].value) @@ -114,27 +111,22 @@ else: digest_value = list.GetUserOption(user, mm_cfg.Digests) if form.has_key("mime"): mime = eval(form["mime"].value) - f.write("mime = %d\n" % mime) else: mime = list.GetUserOption(user, mm_cfg.DisableMime) if form.has_key("dontreceive"): dont_receive = eval(form["dontreceive"].value) - f.write("dont_receive = %d\n" % dont_receive) else: dont_receive = list.GetUserOption(user, mm_cfg.DontReceiveOwnPosts) if form.has_key("ackposts"): ack_posts = eval(form["ackposts"].value) - f.write("ack_posts = %d\n" % ack_posts) else: ack_posts = list.GetUserOption(user, mm_cfg.AcknowlegePosts) if form.has_key("disablemail"): disable_mail = eval(form["disablemail"].value) - f.write("disable_mail = %d\n" % disable_mail) else: disable_mail = list.GetUserOption(user, mm_cfg.DisableDelivery) if form.has_key("conceal"): conceal = eval(form["conceal"].value) - f.write("conceal = %d\n" % conceal) else: conceal = list.GetUserOption(user, mm_cfg.ConcealSubscription) |
