Updating ignore and fabfile to include filename for S3

master
Nick Sergeant 2012-04-29 17:37:59 -04:00
parent db50b7ae20
commit dc7be0a25f
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
.sass-cache
*.un~
*.pgdump
*.pyc
media/cache

3
fabfile.py vendored
View File

@ -70,9 +70,10 @@ def db_backup():
snipt_bucket = conn.get_bucket('snipt')
k = Key(snipt_bucket)
k.key = filename
k.set_contents_from_filename(filename)
local('rm {}'.format(filename))
#local('rm {}'.format(filename))
def _display_message(message, extra_line=True):
if extra_line: