Now reads config['import']['link'], style fix and default setting added.

This commit is contained in:
Rovanion Luckey 2014-04-18 23:24:13 +02:00
parent 36550a0f23
commit 68b6317c59
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import:
write: yes
copy: yes
move: no
link: no
delete: no
resume: ask
incremental: no

View file

@ -449,7 +449,9 @@ def move(path, dest, replace=False):
traceback.format_exc())
def link(path, dest, replace=False):
"""Create a symbolic link from path to `dest`. Raises an OSError if `dest` already exists, unless `replace` is True. Does nothing if `path` == `dest`."""
"""Create a symbolic link from path to `dest`. Raises an OSError if
`dest` already exists, unless `replace` is True. Does nothing if
`path` == `dest`."""
if (samefile(path, dest)):
return