diff options
author | William Deegan <bill@baddogconsulting.com> | 2018-07-18 22:55:31 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2018-11-12 16:46:36 (GMT) |
commit | 883770b811061663c9e5fd6dd6f583c443aa1c7c (patch) | |
tree | 81774a2101a4bd8cc6063d8bd9dd7b39c1a10b3a | |
parent | 303ff960140143a00d5870732c01061d7baba325 (diff) | |
download | SCons-883770b811061663c9e5fd6dd6f583c443aa1c7c.zip SCons-883770b811061663c9e5fd6dd6f583c443aa1c7c.tar.gz SCons-883770b811061663c9e5fd6dd6f583c443aa1c7c.tar.bz2 |
move comment to docstring for LinkFunc()
-rw-r--r-- | src/engine/SCons/Node/FS.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index 1ad860a..d315b59 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -285,11 +285,13 @@ def set_duplicate(duplicate): Link_Funcs.append(link_dict[func]) def LinkFunc(target, source, env): - # Relative paths cause problems with symbolic links, so - # we use absolute paths, which may be a problem for people - # who want to move their soft-linked src-trees around. Those - # people should use the 'hard-copy' mode, softlinks cannot be - # used for that; at least I have no idea how ... + """ + Relative paths cause problems with symbolic links, so + we use absolute paths, which may be a problem for people + who want to move their soft-linked src-trees around. Those + people should use the 'hard-copy' mode, softlinks cannot be + used for that; at least I have no idea how ... + """ src = source[0].get_abspath() dest = target[0].get_abspath() dir, file = os.path.split(dest) |