##// END OF EJS Templates
util: remove needbinary(), no longer used for external patching
Patrick Mezard -
r12672:9b324c5e default
parent child Browse files
Show More
@@ -716,10 +716,6 b' def checklink(path):'
716 except (OSError, AttributeError):
716 except (OSError, AttributeError):
717 return False
717 return False
718
718
719 def needbinarypatch():
720 """return True if patches should be applied in binary mode by default."""
721 return os.name == 'nt'
722
723 def endswithsep(path):
719 def endswithsep(path):
724 '''Check path ends with os.sep or os.altsep.'''
720 '''Check path ends with os.sep or os.altsep.'''
725 return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep)
721 return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep)
General Comments 0
You need to be logged in to leave comments. Login now