p.strip(os.sep) can't have possibly worked.  It would have stripped both
leading and trailing '/' characters on Unix systems.
1 file changed