[meld] Fix incorrect call when copying directories containing symlinks
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix incorrect call when copying directories containing symlinks
- Date: Tue, 2 Oct 2012 20:29:40 +0000 (UTC)
commit 02588ecaa0c96b1b1b05ff2df13b7abd7f8b0966
Author: Kai Willadsen <kai willadsen gmail com>
Date: Wed Oct 3 06:24:40 2012 +1000
Fix incorrect call when copying directories containing symlinks
Change suggested by Rainer Suhm.
meld/misc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/misc.py b/meld/misc.py
index c1ce664..86693c4 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -290,7 +290,7 @@ def copytree(src, dst):
srcname = os.path.join(src, name)
dstname = os.path.join(dst, name)
if os.path.islink(srcname):
- os.symlink(os.readlink(srcname, dstname))
+ os.symlink(os.readlink(srcname), dstname)
elif os.path.isdir(srcname):
copytree(srcname, dstname)
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]