mirror of https://github.com/python/cpython
specify how things are copied
This commit is contained in:
parent
2d873bd68b
commit
d729aada6a
|
@ -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
|
||||
|
||||
|
|
|
@ -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,)
|
||||
|
||||
|
|
Loading…
Reference in New Issue