equal
deleted
inserted
replaced
767 try: |
767 try: |
768 os.unlink(f) |
768 os.unlink(f) |
769 except OSError: |
769 except OSError: |
770 pass |
770 pass |
771 |
771 |
772 return False |
|
773 |
|
774 def endswithsep(path): |
772 def endswithsep(path): |
775 '''Check path ends with os.sep or os.altsep.''' |
773 '''Check path ends with os.sep or os.altsep.''' |
776 return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep) |
774 return path.endswith(os.sep) or os.altsep and path.endswith(os.altsep) |
777 |
775 |
778 def splitpath(path): |
776 def splitpath(path): |