Use contextlib.suppress() where appropriate.
commitc6eb7ee3e574b48ee016dd31af2014b0ed083268
authorBarry Warsaw <barry@python.org>
Sat, 30 Apr 2016 17:34:04 +0000 (30 13:34 -0400)
committerGitLab <gitlab@gitlab.com>
Sat, 30 Apr 2016 19:54:54 +0000 (30 19:54 +0000)
tree14c1f1e7bb382898ee50909333365aab335aa4a1
parent465f24ff33e154385322ee894d32d8b7dd9b3941
Use contextlib.suppress() where appropriate.
16 files changed:
src/mailman/app/tests/test_subscriptions.py
src/mailman/bin/docs/master.rst
src/mailman/commands/cli_withlist.py
src/mailman/commands/tests/test_control.py
src/mailman/core/runner.py
src/mailman/database/tests/test_factory.py
src/mailman/handlers/mime_delete.py
src/mailman/handlers/subject_prefix.py
src/mailman/model/messagestore.py
src/mailman/rules/implicit_dest.py
src/mailman/runners/command.py
src/mailman/runners/incoming.py
src/mailman/testing/helpers.py
src/mailman/utilities/filesystem.py
src/mailman/utilities/interact.py
src/mailman/utilities/uid.py