Kami/python-file-syncer — pull request #13 by erulabs (2014-12-16 18:41:05+00:00)
Title: fix options - auto-content-type

Hello :)

It seems not all the options were swapped from "no-content-type" to "auto-content-type", and, should no content type be given, results in an error:

Traceback (most recent call last):
File "/usr/local/bin/file-syncer", line 10, in
execfile(__file__)
File "/var/www/vhosts/latina.com/docroot/src/file-syncer/bin/file-syncer", line 4, in
run()
File "/var/www/vhosts/latina.com/docroot/src/file-syncer/file_syncer/run.py", line 120, in run
no_content_type=options.no_content_type,
AttributeError: Values instance has no attribute 'no_content_type'
Exception KeyError: KeyError(140361824529776,) in ignored

Thanks!