Fixes/notes related to slashes in remote paths.

This commit is contained in:
Chris Church 2014-06-18 10:01:11 -05:00 committed by Matt Martz
commit 21ba529fbe
6 changed files with 16 additions and 9 deletions

View file

@ -59,7 +59,7 @@ class ActionModule(object):
source = os.path.expanduser(source)
if flat:
if dest.endswith("/"): # CCTODO
if dest.endswith("/"): # CCTODO: Fix path for Windows hosts.
# if the path ends with "/", we'll use the source filename as the
# destination filename
base = os.path.basename(source)