typo yapmışım.. Furkan farkedip haber verdi sağolsun.

This commit is contained in:
A. Murat Eren
2006-03-06 13:24:05 +00:00
parent 09300bb3f7
commit ce6652ce61
+2 -3
View File
@@ -133,10 +133,9 @@ def copy(source, destination):
elif isLink(filePath):
if isDirectory(destination):
os.symlink(os.readlink(filePath), join_path(destination, os.path.basename(filePath)))
if isFile(destination):
os.remove(destination)
os.symlink(os.readlink(filePath), destination)
else:
if isFile(destination):
os.remove(destination)
os.symlink(os.readlink(filePath), destination)
elif isDirectory(filePath):
copytree(filePath, destination)