diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2008-09-19 14:54:52 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2008-09-19 14:54:52 +0000 |
commit | 068e7dcf028d0cd55b1886df25973700a3dc5cf2 (patch) | |
tree | 68327ca862f0fe8fac7e6b37dc751affb32d3701 /fs | |
parent | 60cbd5fa87b87628469564e23f48bc333c8c274b (diff) | |
download | pyfilesystem-git-068e7dcf028d0cd55b1886df25973700a3dc5cf2.tar.gz |
Fix
Diffstat (limited to 'fs')
-rw-r--r-- | fs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/utils.py b/fs/utils.py index b3884c6..dd863eb 100644 --- a/fs/utils.py +++ b/fs/utils.py @@ -122,7 +122,7 @@ def copydir(fs1, fs2, ignore_errors=False, chunk_size=16384): mount_fs = MountFS() mount_fs.mount('dir1', fs1) mount_fs.mount('dir2', fs2) - mount_fs.movedir('dir1', 'dir2', ignore_errors=ignore_errors, chunk_size=chunk_size) + mount_fs.copydir('dir1', 'dir2', ignore_errors=ignore_errors, chunk_size=chunk_size) def countbytes(count_fs): """Returns the total number of bytes contained within files in a filesystem. |