# HG changeset patch # User Bryan O'Sullivan # Date 1365821287 25200 # Node ID 9dd5a4815c6f0d1dad04e9d944b6e6b7715c474d # Parent 0080d0d1fcb391ec0d06782e70b6c5d50a457bd5 util: remove unreachable code Found by Cython. diff -r 0080d0d1fcb3 -r 9dd5a4815c6f mercurial/util.py --- a/mercurial/util.py Fri Apr 12 19:33:48 2013 -0700 +++ b/mercurial/util.py Fri Apr 12 19:48:07 2013 -0700 @@ -769,8 +769,6 @@ except OSError: pass - return False - def endswithsep(path): '''Check path ends with os.sep or os.altsep.''' return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep)