cmdutil: remove superfluous pass statements
authorAugie Fackler <augie@google.com>
Sat, 30 Sep 2017 07:43:26 -0400
changeset 34373 2a360445afa0
parent 34372 635553ca6eb9
child 34374 76b334b9f45c
cmdutil: remove superfluous pass statements
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Sat Sep 30 07:43:11 2017 -0400
+++ b/mercurial/cmdutil.py	Sat Sep 30 07:43:26 2017 -0400
@@ -1735,7 +1735,6 @@
     def _exthook(self, ctx):
         '''empty method used by extension as a hook point
         '''
-        pass
 
     def showpatch(self, ctx, matchfn):
         if not matchfn:
@@ -3632,7 +3631,6 @@
 
 def _revertprefetch(repo, ctx, *files):
     """Let extension changing the storage layer prefetch content"""
-    pass
 
 def _performrevert(repo, parents, ctx, actions, interactive=False,
                    tobackup=None):