Patchwork [04,of,17] byterange: remove superfluous pass statements

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

Comments

Augie Fackler - Sept. 30, 2017, 12:02 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1506771791 14400
#      Sat Sep 30 07:43:11 2017 -0400
# Node ID 6b594a14e15fa86291fadd25f45e280ba7e004a9
# Parent  fa24e8e3eb1bbd5f5dfac4af9c54bf3fb196afe4
byterange: remove superfluous pass statements

Patch

diff --git a/mercurial/byterange.py b/mercurial/byterange.py
--- a/mercurial/byterange.py
+++ b/mercurial/byterange.py
@@ -44,7 +44,6 @@  unquote = urlreq.unquote
 
 class RangeError(IOError):
     """Error raised when an unsatisfiable range is requested."""
-    pass
 
 class HTTPRangeHandler(urlreq.basehandler):
     """Handler that enables HTTP Range headers.