Revision 614a20dc kamaki/cli/commands/pithos.py
b/kamaki/cli/commands/pithos.py | ||
---|---|---|
773 | 773 |
'do not show progress bar', ('-N', '--no-progress-bar'), |
774 | 774 |
default=False), |
775 | 775 |
start_position=IntArgument('File position in bytes', '--from'), |
776 |
end_position=IntArgument('File position in bytes', '--to') |
|
776 |
end_position=IntArgument('File position in bytes', '--to'), |
|
777 |
content_type=ValueArgument( |
|
778 |
'default: application/octet-stream', '--content-type'), |
|
777 | 779 |
) |
778 | 780 |
required = ('start_position', 'end_position') |
779 | 781 |
|
... | ... | |
793 | 795 |
start=start, |
794 | 796 |
end=end, |
795 | 797 |
source_file=f, |
798 |
content_type=self['content_type'], |
|
796 | 799 |
upload_cb=upload_cb)) |
797 | 800 |
finally: |
798 | 801 |
self._safe_progress_bar_finish(progress_bar) |
Also available in: Unified diff