Patchwork [09,of,17] hgweb: remove superfluous pass statements

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

Comments

Augie Fackler - Sept. 30, 2017, 12:02 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1506771860 14400
#      Sat Sep 30 07:44:20 2017 -0400
# Node ID de46978e0268bd174dfe620469e4f5f4cffa9c6e
# Parent  261a764fc0d8d6315208be36c716c0a1e917cf40
hgweb: remove superfluous pass statements

Patch

diff --git a/mercurial/hgweb/server.py b/mercurial/hgweb/server.py
--- a/mercurial/hgweb/server.py
+++ b/mercurial/hgweb/server.py
@@ -61,7 +61,6 @@  class _httprequesthandler(httpservermod.
     @staticmethod
     def preparehttpserver(httpserver, ui):
         """Prepare .socket of new HTTPServer instance"""
-        pass
 
     def __init__(self, *args, **kargs):
         self.protocol_version = 'HTTP/1.1'