Revision abff3366

b/kamaki/cli/commands/pithos.py
983 983
    @errors.pithos.container
984 984
    @errors.pithos.object_path
985 985
    def _run(self):
986
        ctype, cenv = guess_mime_type(self.path)
986
        ctype, cenc = guess_mime_type(self.path)
987 987
        self._optional_output(self.client.create_object_by_manifestation(
988 988
            self.path,
989 989
            content_encoding=self['content_encoding'] or cenc,
990 990
            content_disposition=self['content_disposition'],
991
            content_type=self['content_type'], or ctype,
991
            content_type=self['content_type'] or ctype,
992 992
            sharing=self['sharing'],
993 993
            public=self['public']))
994 994

  
b/setup.py
63 63
        'kamaki',
64 64
        'kamaki.cli',
65 65
        'kamaki.cli.command_tree',
66
        'kamaki.cli.argument',
66 67
        'kamaki.cli.commands',
67 68
        'kamaki.clients',
68 69
        'kamaki.clients.utils',

Also available in: Unified diff