Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion services/datalad/datalad_service/common/annex.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def compute_rmet(key, legacy=False):


def parse_remote_line(remoteLine):
remoteConfig = dict(item.split('=') for item in remoteLine[37:].split(' '))
remoteConfig = dict(
item.split('=', maxsplit=1) for item in remoteLine[37:].split(' ')
)
if remoteConfig['type'] == 'S3' and remoteConfig['bucket'] in S3_BUCKETS_WHITELIST:
remoteUuid = remoteLine[0:36]
remoteUrl = remoteConfig['publicurl'] if 'publicurl' in remoteConfig else None
Expand Down