summaryrefslogtreecommitdiff
path: root/src/mailman/runners/rest.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-04-01 16:40:39 -0400
committerBarry Warsaw2016-04-01 16:40:39 -0400
commitb87447ffe4a20793e22884a99a7f9afe3a803004 (patch)
tree332b20714199bc83a9b2d592682e287866ed9a1d /src/mailman/runners/rest.py
parentf7e9e4698bdd4cee39c9eb485296cbbfa32369a9 (diff)
downloadmailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.gz
mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.zst
mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.zip
Don't use `flake8: noqa`.
This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.
Diffstat (limited to 'src/mailman/runners/rest.py')
-rw-r--r--src/mailman/runners/rest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/runners/rest.py b/src/mailman/runners/rest.py
index 5a76d22c1..0100b0db9 100644
--- a/src/mailman/runners/rest.py
+++ b/src/mailman/runners/rest.py
@@ -50,7 +50,7 @@ class RESTRunner(Runner):
# server.
self._server = make_server()
self._event = threading.Event()
- def stopper(event, server): # flake8: noqa
+ def stopper(event, server): # noqa
event.wait()
server.shutdown()
self._thread = threading.Thread(