Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits:
e452d285 by Mark Sapiro at 2020-08-27T23:56:21+00:00
Added .format to log message string.
- - - - -
dbdb4d61 by Mark Sapiro at 2020-08-27T23:56:21+00:00
Merge branch 'log' into 'master'
Added .format to log message string.
Closes #756
See merge request mailman/mailman!695
- - - - -
2 changed files:
- src/mailman/bin/master.py
- src/mailman/docs/NEWS.rst
Changes:
=====================================
src/mailman/bin/master.py
=====================================
@@ -448,8 +448,8 @@ Master detected subprocess exit
# See if we've reached the maximum number of allowable restarts.
if restarts > max_restarts:
log.info("""\
-Runner {0} reached maximum restart limit of {1:d}, not restarting.""",
- rname, max_restarts)
+Runner {0} reached maximum restart limit of {1:d}, not restarting.""".format(
+ rname, max_restarts))
# Now perhaps restart the process unless it exited with a
# SIGTERM or we aren't restarting.
if restart:
=====================================
src/mailman/docs/NEWS.rst
=====================================
@@ -37,6 +37,7 @@ Bugs
requests for the same email address. (Closes #748)
* Removed unnecessary call to ``Lock().disown()`` from ``bin/master.py``.
(Closes #754)
+* Fixed an invalid logging call in bin/master.py. (Closes #756)
Command line
------------
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/2972c16b7f1c64256053d78dd39d510d6a01e606...dbdb4d61edc500000ecd0074bbc08d1d02af4210
--
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/2972c16b7f1c64256053d78dd39d510d6a01e606...dbdb4d61edc500000ecd0074bbc08d1d02af4210
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: [email protected]