diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-03 20:49:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-03 20:49:10 (GMT) |
commit | d64845dbbec63c44a0a23b558b3cfe12dbc495fc (patch) | |
tree | 55ec9b921ba259ab3aed979cf4b7c12afebf07f3 /Mac/Lib | |
parent | 6681de2455f8d43de9cb22ddaf6a155c63af81c3 (diff) | |
download | cpython-d64845dbbec63c44a0a23b558b3cfe12dbc495fc.zip cpython-d64845dbbec63c44a0a23b558b3cfe12dbc495fc.tar.gz cpython-d64845dbbec63c44a0a23b558b3cfe12dbc495fc.tar.bz2 |
Mkdirs() failed when provided with unix pathnames. Fixed.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/macostools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 43ab74f..ca0c7c6 100644 --- a/Mac/Lib/macostools.py +++ b/Mac/Lib/macostools.py @@ -55,7 +55,7 @@ def mkdirs(dst): if dst == '' or os.path.exists(dst): return head, tail = os.path.split(dst) - if not ':' in head: + if os.sep == ':' and not ':' in head: head = head + ':' mkdirs(head) os.mkdir(dst, 0777) |