Show More
@@ -769,8 +769,6 b' def checknlink(testfile):' | |||||
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) |
General Comments 0
You need to be logged in to leave comments.
Login now