summaryrefslogtreecommitdiff
path: root/src/mailman/bin/master.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/bin/master.py')
-rw-r--r--src/mailman/bin/master.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/bin/master.py b/src/mailman/bin/master.py
index 29d5401f6..2b3ec87c4 100644
--- a/src/mailman/bin/master.py
+++ b/src/mailman/bin/master.py
@@ -17,7 +17,7 @@
"""Master subprocess watcher."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -518,7 +518,7 @@ def main():
lock = acquire_lock(options.options.force)
try:
with open(config.PID_FILE, 'w') as fp:
- print >> fp, os.getpid()
+ print(os.getpid(), file=fp)
loop = Loop(lock, options.options.restartable, options.options.config)
loop.install_signal_handlers()
try: