mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
parent
ecfeb7f095
commit
70a6b49821
246 changed files with 926 additions and 962 deletions
|
@ -33,7 +33,7 @@ def mkpath (name, mode=0777, verbose=0, dry_run=0):
|
|||
# Detect a common bug -- name is None
|
||||
if type(name) is not StringType:
|
||||
raise DistutilsInternalError, \
|
||||
"mkpath: 'name' must be a string (got %s)" % `name`
|
||||
"mkpath: 'name' must be a string (got %r)" % (name,)
|
||||
|
||||
# XXX what's the better way to handle verbosity? print as we create
|
||||
# each directory in the path (the current behaviour), or only announce
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue