changeset 18930:9dd5a4815c6f

util: remove unreachable code Found by Cython.
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 12 Apr 2013 19:48:07 -0700
parents 0080d0d1fcb3
children 3c224e0949de
files mercurial/util.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)