Patchwork [14,of,17] registrar: remove superfluous pass statements

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

Comments

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

Patch

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