Remove conte-type from object_overwrite call
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 24 Jan 2014 11:04:47 +0000 (13:04 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 24 Jan 2014 11:04:47 +0000 (13:04 +0200)
kamaki/cli/commands/pithos.py

index 701ef48..9ea5753 100644 (file)
@@ -774,8 +774,6 @@ class file_overwrite(_pithos_container, _optional_output_cmd):
             default=False),
         start_position=IntArgument('File position in bytes', '--from'),
         end_position=IntArgument('File position in bytes', '--to'),
-        content_type=ValueArgument(
-            'default: application/octet-stream', '--content-type'),
     )
     required = ('start_position', 'end_position')
 
@@ -795,7 +793,6 @@ class file_overwrite(_pithos_container, _optional_output_cmd):
                     start=start,
                     end=end,
                     source_file=f,
-                    content_type=self['content_type'],
                     upload_cb=upload_cb))
         finally:
             self._safe_progress_bar_finish(progress_bar)