liuyang1520 / django-command-extensions

Automatically exported from code.google.com/p/django-command-extensions
MIT License
0 stars 0 forks source link

sync_media_s3 uploaded folders have broken names #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In your settings.py set MEDIA_ROOT in such a way that it ends with slash
character (eg. '/foo/bar/')
2. run manage.py sync_media_s3
3.

What is the expected output? What do you see instead?
I would expect that folders structure on S3 account match the structure in
my local MEDIA_ROOT directory. Instead of that each top-level directory is
missing first letter in it's name. If MEDIA_ROOT doesn't end with slash
character then all is fine.

What version of the product are you using? On what operating system?
0.4 pre

Please provide any additional information below.

Original issue reported on code.google.com by lukasz.k...@gmail.com on 3 Dec 2008 at 8:55

GoogleCodeExporter commented 8 years ago
Revision 173 fixes this issue.  Thanks for the report.  If you could, please 
verify
the fix works for you and close the bug if so.

Original comment by treborhu...@gmail.com on 4 Dec 2008 at 8:22