summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/file_util.py
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #220993; may also fix bug #479469] Fix flakiness when oldAndrew M. Kuchling2002-02-011-0/+7
| | | | | | | | | installations are present, by always unlinking the destination file before copying to it. Without the unlink(), the copied file remains owned by its previous UID, causing the subsequent chmod() to fail. Bugfix candidate, though it may cause changes on platforms where file ownership behaves differently.
* Whitespace normalization.Fred Drake2001-12-061-8/+8
|
* Import the errno moduleAndrew M. Kuchling2001-08-091-1/+2
|
* Don't "import *" from stat at all -- just import what's needed, andGreg Ward2001-07-251-1/+1
| | | | do it back in copy_file() (not at module level).
* move "from stat import *" to module levelJeremy Hylton2001-01-311-1/+1
|
* Changed 'copy_file()' so it returns a tuple (dest_name, copied) -- hopefully,Greg Ward2000-09-301-6/+7
| | | | this will please everyone (as if that's possible).
* Whitespace fix.Greg Ward2000-09-261-1/+2
|
* Reformat docstrings.Greg Ward2000-09-231-65/+63
| | | | Standardize use of whitespace on function calls.
* Bastian Kleineidam: 'copy_file()' now returns the output filename, ratherGreg Ward2000-06-231-6/+5
| | | | than a boolean indicating whether it did the copy.
* Tweaked output of 'copy_file()': if copying to a new name, show the wholeGreg Ward2000-05-201-3/+6
| | | | destination path, otherwise show just the directory.
* Sporadic, untested Python 1.5.1 compatibility changes.Greg Ward2000-04-221-1/+1
|
* Reorganization: ripped util.py to shreds, creating in the process:Greg Ward2000-04-041-0/+248
- file_util.py: operations on single files - dir_util.py: operations on whole directories or directory trees - dep_util.py: simple timestamp-based dependency analysis - archive_util.py: creation of archive (tar, zip, ...) files The functions left in util.py are miscellany that don't fit in any of the new files.