summaryrefslogtreecommitdiff
path: root/Mailman/GatewayManager.py
diff options
context:
space:
mode:
authorbwarsaw1998-12-29 18:16:01 +0000
committerbwarsaw1998-12-29 18:16:01 +0000
commitb6eb6b6b0be9092aa82cfa91f2166184c23a587b (patch)
tree17cc35d834eda762e306d88e55b5dbc2abc3c0a6 /Mailman/GatewayManager.py
parentcd03a7d73e2b4138a9302dda732be0fbeb987760 (diff)
downloadmailman-b6eb6b6b0be9092aa82cfa91f2166184c23a587b.tar.gz
mailman-b6eb6b6b0be9092aa82cfa91f2166184c23a587b.tar.zst
mailman-b6eb6b6b0be9092aa82cfa91f2166184c23a587b.zip
Diffstat (limited to 'Mailman/GatewayManager.py')
-rw-r--r--Mailman/GatewayManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/GatewayManager.py b/Mailman/GatewayManager.py
index 6ab240a3c..8cac34ec7 100644
--- a/Mailman/GatewayManager.py
+++ b/Mailman/GatewayManager.py
@@ -114,8 +114,8 @@ class GatewayManager:
except AttributeError:
pass # Wasn't remailed by the news gater then. Let it through.
# Fork in case the nntp connection hangs.
- x = os.fork()
- if not x:
+ if not os.fork():
+ # child
import nntplib
# Now make the news message...
msg = Message.NewsMessage(mail_msg)