django-extensions/django-extensions — pull request #181 by suneel0101 (2012-03-08 02:47:00+00:00)
Title: Append filename with .gz when it gzips, this way if you run sync_media_s...

...3 multiple times, once for regular upload and once again for a gzipped copy, there will be distinct file names. Currently if you run 1) ./manage.py sync_media_s3 mybucket and then 2) ./manage.py sync_media_s3 mybucket --gzip, all of the filenames in 1) are the same in 2) so all of the regular ones get replaced by gzipped copies. It would be better if we could keep the names different. Thanks!