We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc1bf5a commit 055f31cCopy full SHA for 055f31c
examples/port_publisher.py
@@ -465,7 +465,7 @@ def close(self):
465
if pid > 0:
466
# exit from second parent, save eventual PID before
467
if args.pidfile is not None:
468
- open(args.pidfile, 'w').write("{}".formt(pid))
+ open(args.pidfile, 'w').write("{}".format(pid))
469
sys.exit(0)
470
except OSError as e:
471
log.critical("fork #2 failed: {} ({})\n".format(e.errno, e.strerror))
0 commit comments