Delete old version of the file before saving the new one #4

Merged
merged 1 commit into from Jan 7, 2013

Conversation

Projects
None yet
2 participants
Contributor

kux commented Jan 4, 2013

Since filer no longer overwrites files with the same name (see FILE_OVERWRITE setting in s3boto storage backend)
=> it makes more sense to delete the prev file before saving again, thus avoiding the generation of a new file with a new auto-generated name.

Since filer no longer overwrites files with the same name (see FILE_O…
…VERWRITE setting in s3boto storage backend)

 => it makes more sense to delete the prev file before saving again, thus avoiding the generation of a new file.

bhodorog added a commit that referenced this pull request Jan 7, 2013

Merge pull request #4 from pbs/non_overwriting_filers
Delete old version of the file before saving the new one

@bhodorog bhodorog merged commit 3db0e64 into master Jan 7, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment