rackspace: pass full path to the isdir.
This commit is contained in:
parent
f6c9d555a0
commit
6d35aa3524
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ def upload(module, cf, container, src, dest, meta, expires):
|
|||
if path != src:
|
||||
prefix = path.split(src)[-1].lstrip('/')
|
||||
filenames = [os.path.join(prefix, name) for name in filenames
|
||||
if not os.path.isdir(name)]
|
||||
if not os.path.isdir(os.path.join(path, name))]
|
||||
objs += filenames
|
||||
|
||||
_objs = []
|
||||
|
|
Loading…
Reference in a new issue