[meld/meld-1.6] Fix incorrect call when copying directories containing symlinks
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/meld-1.6] Fix incorrect call when copying directories containing symlinks
- Date: Sun, 14 Oct 2012 21:00:34 +0000 (UTC)
commit d175f7176240cd418925cd6ba3cc7da5930c4d35
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 17fe275..36f8741 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -285,7 +285,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]