summaryrefslogtreecommitdiff
path: root/Mailman/GatewayManager.py
diff options
context:
space:
mode:
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)