Index: dir_util.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/dir_util.py,v retrieving revision 1.15 diff -u -r1.15 dir_util.py --- dir_util.py 10 Nov 2004 22:23:14 -0000 1.15 +++ dir_util.py 21 Mar 2005 16:33:22 -0000 @@ -31,7 +31,7 @@ global _path_created # Detect a common bug -- name is None - if type(name) is not StringType: + if not isinstance(name, StringTypes): raise DistutilsInternalError, \ "mkpath: 'name' must be a string (got %r)" % (name,)