Index: os.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/os.py,v retrieving revision 1.72 diff -C2 -r1.72 os.py *** os.py 2 Jul 2003 02:49:33 -0000 1.72 --- os.py 31 Oct 2003 19:39:24 -0000 *************** *** 148,156 **** """ head, tail = path.split(name) ! if not tail: head, tail = path.split(head) if head and tail and not path.exists(head): makedirs(head, mode) ! mkdir(name, mode) def removedirs(name): --- 148,156 ---- """ head, tail = path.split(name) ! if not tail or tail == curdir: head, tail = path.split(head) if head and tail and not path.exists(head): makedirs(head, mode) ! mkdir(path.join(head, tail), mode) def removedirs(name):