v-shushkov-macbook:s3cmd v_shushkov$ s3cmd put --acl-public --mime-type=text/html README s3://my_bucket/README_PUBLIC_3

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: UnboundLocalError: local variable 'content_encoding' referenced before assignment
S3cmd: 1.5.0-alpha1

Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 2037, in <module>
main()
File "/usr/local/bin/s3cmd", line 1978, in main
cmd_func(args)
File "/usr/local/bin/s3cmd", line 321, in cmd_object_put
response = s3.object_put(full_name, uri_final, extra_headers, extra_label = seq_label)
File "/Library/Python/2.7/site-packages/S3/S3.py", line 420, in object_put
if not content_encoding:
UnboundLocalError: local variable 'content_encoding' referenced before assignment

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

--
,

.: +7 914 979 7222
http://shushkov.ru