incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [11/33] git commit: [#6685] Add faulthandler to smtp_server
Date Tue, 24 Sep 2013 19:37:47 GMT
[#6685] Add faulthandler to smtp_server

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6286ab18
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6286ab18
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6286ab18

Branch: refs/heads/cj/6695
Commit: 6286ab18ec95b0a8e54c7cfe010cdd839982ed35
Parents: fe5f148
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Mon Sep 23 15:38:38 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Sep 24 17:14:53 2013 +0000

----------------------------------------------------------------------
 Allura/allura/command/smtp_server.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6286ab18/Allura/allura/command/smtp_server.py
----------------------------------------------------------------------
diff --git a/Allura/allura/command/smtp_server.py b/Allura/allura/command/smtp_server.py
index d6c22c4..cc1710a 100644
--- a/Allura/allura/command/smtp_server.py
+++ b/Allura/allura/command/smtp_server.py
@@ -18,6 +18,7 @@
 import smtpd
 import asyncore
 
+import faulthandler
 import tg
 from paste.script import command
 
@@ -37,6 +38,7 @@ class SMTPServerCommand(base.Command):
                             ' and/or tool'))
 
     def command(self):
+        faulthandler.enable()
         self.basic_setup()
         MailServer((tg.config.get('forgemail.host', '0.0.0.0'),
                     asint(tg.config.get('forgemail.port', 8825))),


Mime
View raw message