incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6685] Add faulthandler to smtp_server
Date Mon, 23 Sep 2013 15:38:55 GMT
Updated Branches:
  refs/heads/tv/6685 [created] e81e59dc1


[#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/e81e59dc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e81e59dc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e81e59dc

Branch: refs/heads/tv/6685
Commit: e81e59dc1d1caed6bf45fe4219e317a2fc0b2a96
Parents: d83c5c2
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Mon Sep 23 15:38:38 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Mon Sep 23 15:38:38 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/e81e59dc/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