util: remove unreachable code
authorBryan O'Sullivan <bryano@fb.com>
Fri, 12 Apr 2013 19:48:07 -0700
changeset 18930 9dd5a4815c6f
parent 18929 0080d0d1fcb3
child 18931 3c224e0949de
util: remove unreachable code Found by Cython.
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)