From 09bea916a186a081a9e9e1f9802c803e6b635f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Sun, 4 Sep 2005 19:14:06 +0000 Subject: [PATCH] =?UTF-8?q?file'=C4=B1=20g=C3=B6r=C3=BCnce=20selam=20s?= =?UTF-8?q?=C3=B6yle...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/actionsapi/shelltools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/actionsapi/shelltools.py b/pisi/actionsapi/shelltools.py index e21dbfc4..dbbcb46f 100644 --- a/pisi/actionsapi/shelltools.py +++ b/pisi/actionsapi/shelltools.py @@ -121,7 +121,7 @@ def copy(sourceFile, destinationFile): def copytree(source, destination, sym = False): '''recursively copy an entire directory tree rooted at source''' - if isDirectory(file) or isLink(file): + if isDirectory(source) or isLink(source): try: shutil.copytree(source, destination, sym) except OSError: