diff options
| author | Guido van Rossum <guido@python.org> | 2007-04-27 23:53:51 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-04-27 23:53:51 +0000 |
| commit | 3bf5ce40cfaf14aa42593b4c4e5c28338c31633a (patch) | |
| tree | a8e25cbdc7fe7a8e9f4ced0f46f91822ea7683fe /dir_util.py | |
| parent | 078fadd293abe8b159cb6185a3ded2e87210c5f8 (diff) | |
| download | python-setuptools-git-3bf5ce40cfaf14aa42593b4c4e5c28338c31633a.tar.gz | |
Checkpoint. Manipulated things so that string literals are always
unicode, and a few other compensating changes, e.g. str <- unicode,
chr <- unichr, and repr() of a unicode string no longer starts
with 'u'. Lots of unit tests are broken, but some basic things
work, in particular distutils works so the extensions can be built,
and test_builtin.py works.
Diffstat (limited to 'dir_util.py')
| -rw-r--r-- | dir_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dir_util.py b/dir_util.py index 398f2429..c6f014b2 100644 --- a/dir_util.py +++ b/dir_util.py @@ -31,7 +31,7 @@ def mkpath (name, mode=0777, verbose=0, dry_run=0): global _path_created # Detect a common bug -- name is None - if not isinstance(name, StringTypes): + if not isinstance(name, basestring): raise DistutilsInternalError, \ "mkpath: 'name' must be a string (got %r)" % (name,) |
