diff options
| author | Barry Warsaw | 2014-04-28 11:23:35 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2014-04-28 11:23:35 -0400 |
| commit | d4d71f71f08d6d440b17482eecc5472dcfe6cbae (patch) | |
| tree | 71f08b3d60f698883294eaa6d1bf366a095da011 /src/mailman/bin/master.py | |
| parent | 7536530dcd8d6303c0a869e8c9c2cb2517b9b018 (diff) | |
| download | mailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.tar.gz mailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.tar.zst mailman-d4d71f71f08d6d440b17482eecc5472dcfe6cbae.zip | |
Diffstat (limited to 'src/mailman/bin/master.py')
| -rw-r--r-- | src/mailman/bin/master.py | 4 |
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: |
