summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dir_util.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-06 20:51:35 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-06 20:51:35 (GMT)
commitb94b849d65af71b4b432a74fdaef8ccd88209cc0 (patch)
treed32dd5d053192834153d90685ca56361f5ecc62a /Lib/distutils/dir_util.py
parentbcd8975740da47e7d1c8a5d2839ad4bf214fe34b (diff)
downloadcpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.zip
cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.gz
cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/distutils/dir_util.py')
-rw-r--r--Lib/distutils/dir_util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py
index a1578be..77007c9 100644
--- a/Lib/distutils/dir_util.py
+++ b/Lib/distutils/dir_util.py
@@ -49,7 +49,7 @@ def mkpath (name, mode=0777, verbose=0, dry_run=0):
(head, tail) = os.path.split(name)
tails = [tail] # stack of lone dirs to create
-
+
while head and tail and not os.path.isdir(head):
#print "splitting '%s': " % head,
(head, tail) = os.path.split(head)
@@ -140,7 +140,7 @@ def copy_tree (src, dst,
if not dry_run and not os.path.isdir(src):
raise DistutilsFileError, \
- "cannot copy tree '%s': not a directory" % src
+ "cannot copy tree '%s': not a directory" % src
try:
names = os.listdir(src)
except os.error, (errno, errstr):
@@ -166,7 +166,7 @@ def copy_tree (src, dst,
if not dry_run:
os.symlink(link_dest, dst_name)
outputs.append(dst_name)
-
+
elif os.path.isdir(src_name):
outputs.extend(
copy_tree(src_name, dst_name,