Skip to content
Unverified Commit 473106fe authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco
Browse files

Check for both os.path.sep and os.path.altsep

When normalizing paths, we want to handle the following cases:

- Someone is using a Windows-style path on Windows
- Someone is using a Unix style path on Unix
- Someone is using a Unix style path on Windows

os.path.sep will handle the native directory separator character while
os.path.altsep (when set) will handle alternate separators. Further,
os.path.abspath does the right thing on Windows when handed a Unix-style
path.

Related to #175
parent a8753b3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment