diff options
author | Tim Burke <tim.burke@gmail.com> | 2023-03-23 09:03:05 -0700 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2023-03-23 09:05:45 -0700 |
commit | 9c4534384593bf826924bfdf177a944a07bda641 (patch) | |
tree | b0799321b61cbdc840746f861eaaa84f360b8aa4 | |
parent | 31c279ff0ea0d1ede1a118d7189dcd009c14e23a (diff) | |
download | python-swiftclient-9c4534384593bf826924bfdf177a944a07bda641.tar.gz |
shell: Allow uploads from stdin to specify --use-dlo
Change-Id: Id6818ab416380242cc215a980a541fc59109c69c
-rwxr-xr-x | swiftclient/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 69f9481..c5fb219 100755 --- a/swiftclient/shell.py +++ b/swiftclient/shell.py @@ -1168,7 +1168,7 @@ def st_upload(parser, args, output_manager, return_parser=False): return if from_stdin: - if not options['use_slo']: + if options['use_slo'] is None: options['use_slo'] = True if not options['segment_size']: options['segment_size'] = DEFAULT_STDIN_SEGMENT |