Skip to content

Commit 7913830

Browse files
authored
Merge pull request #98 from scailfin/feature/96-less-restrictive-copy_files-args
Feature/96 less restrictive copy files args
2 parents 5d08749 + 9675f3f commit 7913830

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,8 @@
158158
### 0.9.3 - 2022-05-24
159159

160160
* Fix issue with `S3Volume.walk` return value (\#95)
161+
162+
163+
### 0.9.4 - 2022-05-25
164+
165+
* Make `path` argument for `copy_files` less restrictive (\#96)

flowserv/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
# terms of the MIT License; see LICENSE file for more details.
88

99
"""Information about the current version of the flowServ package."""
10-
__version__ = '0.9.3'
10+
__version__ = '0.9.4'

flowserv/volume/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def copy_files(
314314
# make sure to remove the 'path' from all keys.
315315
for key, file in source_files:
316316
if path:
317-
prefix = path + '/'
317+
prefix = path + '/' if not path.endswith('/') else path
318318
key = key[len(prefix):]
319319
dstpath = util.join(dst, key) if dst else key
320320
files.append(dstpath)

0 commit comments

Comments
 (0)