[PATCH 11 of 17] match: remove superfluous pass statements

Augie Fackler raf at durin42.com
Sat Sep 30 08:02:17 EDT 2017


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

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.


More information about the Mercurial-devel mailing list