]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
specify how things are copied
authorBenjamin Peterson <benjamin@python.org>
Tue, 9 Dec 2008 02:03:03 +0000 (02:03 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 9 Dec 2008 02:03:03 +0000 (02:03 +0000)
Doc/library/shutil.rst
Mac/BuildScript/build-installer.py

index b409bb739345090811ea63a7eb3600d2aa2abdb7..7baff30a4cc06ca221ab29c128f46e195db584c6 100644 (file)
@@ -156,7 +156,7 @@ copying and removal. For operations on individual files, see also the
    Recursively move a file or directory to another location.
 
    If the destination is on the current filesystem, then simply use rename.
-   Otherwise, copy src to the dst and then remove src.
+   Otherwise, copy src (with :func:`copy2`) to the dst and then remove src.
 
    .. versionadded:: 2.3
 
index 2408960d9499a91e2d1101c3185e03d2534a2689..4000a77ce0988d4af2e894eeb5e034b6ff2a4bd4 100755 (executable)
@@ -587,7 +587,7 @@ def buildPythonDocs():
 
     novername = 'python-docs-html.tar.bz2'
     name = 'html-%s.tar.bz2'%(getFullVersion(),)
-    sourceArchive = os.path.join(DEPSRC, name)
+    sourceArchive = os.path.join(DEPSRC, novername)
     if os.path.exists(sourceArchive):
         print "Using local copy of %s"%(name,)