[PATCH 14 of 17] registrar: remove superfluous pass statements

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


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1506771941 14400
#      Sat Sep 30 07:45:41 2017 -0400
# Node ID 83b1dba69bcc3474fb7ec09ddbbccd55cda9ea17
# Parent  5802876c662320ca23433eccfc2c6ed1475fb6c6
registrar: remove superfluous pass statements

diff --git a/mercurial/registrar.py b/mercurial/registrar.py
--- a/mercurial/registrar.py
+++ b/mercurial/registrar.py
@@ -102,7 +102,6 @@ class _funcregistrarbase(object):
     def _extrasetup(self, name, func):
         """Execute exra setup for registered function, if needed
         """
-        pass
 
 class command(_funcregistrarbase):
     """Decorator to register a command function to table


More information about the Mercurial-devel mailing list