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