Barry Warsaw pushed to branch click-cli at mailman / Mailman Core

Commits:
d55ea861 by Barry Warsaw at 2017-07-19T22:44:25-04:00
Re-enable some pragmas.

- - - - -


1 changed file:

- src/mailman/bin/master.py


Changes:

=====================================
src/mailman/bin/master.py
=====================================
--- a/src/mailman/bin/master.py
+++ b/src/mailman/bin/master.py
@@ -399,7 +399,7 @@ class Loop:
             except ChildProcessError:
                 # No children?  We're done.
                 break
-            except InterruptedError:                # pragma: nocove
+            except InterruptedError:                # pragma: nocover
                 # If the system call got interrupted, just restart it.
                 continue
             # Find out why the subprocess exited by getting the signal
@@ -452,10 +452,10 @@ Runner {0} reached maximum restart limit of {1:d}, not 
restarting.""",
         for pid in self._kids:
             try:
                 os.kill(pid, signal.SIGTERM)
-            except ProcessLookupError:              # pragma: nocove
+            except ProcessLookupError:              # pragma: nocover
                 # The child has already exited.
                 log.info('ESRCH on pid: %d', pid)
-            except OSError:                         # pragma: nocove
+            except OSError:                         # pragma: nocover
                 # XXX I'm not so sure about this.  It preserves the semantics
                 # before conversion to PEP 3151 exceptions.  But is it right?
                 pass
@@ -466,7 +466,7 @@ Runner {0} reached maximum restart limit of {1:d}, not 
restarting.""",
                 self._kids.drop(pid)
             except ChildProcessError:
                 break
-            except InterruptedError:                # pragma: nocove
+            except InterruptedError:                # pragma: nocover
                 continue
 
 



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/d55ea8615406d13cb1e6a1508b17a98b21797a49

---
View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/d55ea8615406d13cb1e6a1508b17a98b21797a49
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to