Patchwork [11,of,17] match: remove superfluous pass statements

login
register
mail settings
Submitter Augie Fackler
Date Sept. 30, 2017, 12:02 p.m.
Message ID <28011b88d7cf1a95de12.1506772937@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/24245/
State Accepted
Headers show

Comments

Augie Fackler - Sept. 30, 2017, 12:02 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1506771885 14400
#      Sat Sep 30 07:44:45 2017 -0400
# Node ID 28011b88d7cf1a95de128c932c3dda33f6293c5e
# Parent  de6ef744e94a4c0c30b64487c345c9e4acab64c0
match: remove superfluous pass statements

Patch

diff --git a/mercurial/match.py b/mercurial/match.py
--- a/mercurial/match.py
+++ b/mercurial/match.py
@@ -250,7 +250,6 @@  class basematcher(object):
     def bad(self, f, msg):
         '''Callback from dirstate.walk for each explicit file that can't be
         found/accessed, with an error message.'''
-        pass
 
     # If an explicitdir is set, it will be called when an explicitly listed
     # directory is visited.