Message237775
When followlinks is true, symlinks is not needed.
But I this commit breaks a code like following:
def unsymlink(top):
for root, dirs, files in os.walk(top):
for name in dirs:
path = os.path.join(root, name)
if os.path.islink(path):
target = os.path.join(root, os.readlink(path))
os.unlink(path)
shutil.copytree(target, path)
for name in files:
path = os.path.join(root, name)
if os.path.islink(path):
target = os.path.join(root, os.readlink(path))
os.unlink(path)
shutil.copy2(target, path) |
|
| Date |
User |
Action |
Args |
| 2015-03-10 15:34:09 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, scott.dial, vstinner, benhoyt, python-dev |
| 2015-03-10 15:34:09 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2015-03-10 15:34:09 | serhiy.storchaka | link | issue23605 messages |
| 2015-03-10 15:34:09 | serhiy.storchaka | create | |
|