diff options
| author | Barry Warsaw | 2016-07-28 23:10:56 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-07-28 23:10:56 -0400 |
| commit | 90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 (patch) | |
| tree | bb7d2df3af049c6e84d65fd25cc0258b6af6ebb9 /src/mailman/runners | |
| parent | 86b25ba2e3bac0e034235d322c7c77080d737833 (diff) | |
| download | mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.gz mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.zst mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.zip | |
Rebase mailman/mailman!180 and cleanup # noqa
Diffstat (limited to 'src/mailman/runners')
| -rw-r--r-- | src/mailman/runners/command.py | 6 | ||||
| -rw-r--r-- | src/mailman/runners/rest.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/runners/command.py b/src/mailman/runners/command.py index 00f6f416b..ba10988e3 100644 --- a/src/mailman/runners/command.py +++ b/src/mailman/runners/command.py @@ -169,9 +169,9 @@ class CommandRunner(Runner): # Include just a few key pieces of information from the original: the # sender, date, and message id. print(_('- Original message details:'), file=results) - subject = msg.get('subject', 'n/a') # noqa - date = msg.get('date', 'n/a') # noqa - from_ = msg.get('from', 'n/a') # noqa + subject = msg.get('subject', 'n/a') # noqa: F841 + date = msg.get('date', 'n/a') # noqa: F841 + from_ = msg.get('from', 'n/a') # noqa: F841 print(_(' From: $from_'), file=results) print(_(' Subject: $subject'), file=results) print(_(' Date: $date'), file=results) diff --git a/src/mailman/runners/rest.py b/src/mailman/runners/rest.py index 0100b0db9..36b03aa5a 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): # noqa + def stopper(event, server): # noqa: E301 event.wait() server.shutdown() self._thread = threading.Thread( |
