summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 0808af46..50580880 100644
--- a/project.py
+++ b/project.py
@@ -249,7 +249,7 @@ class _LinkFile(object):
249 if not os.path.islink(absDest) or (os.readlink(absDest) != relSrc): 249 if not os.path.islink(absDest) or (os.readlink(absDest) != relSrc):
250 try: 250 try:
251 # remove existing file first, since it might be read-only 251 # remove existing file first, since it might be read-only
252 if os.path.exists(absDest): 252 if os.path.lexists(absDest):
253 os.remove(absDest) 253 os.remove(absDest)
254 else: 254 else:
255 dest_dir = os.path.dirname(absDest) 255 dest_dir = os.path.dirname(absDest)