projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f51cb0
)
fixing typo
author
Bryan
<btbonval@gmail.com>
Tue, 14 Jan 2014 09:18:44 +0000
(
04:18
-0500)
committer
Bryan
<btbonval@gmail.com>
Thu, 16 Jan 2014 01:30:33 +0000
(20:30 -0500)
karmaworld/apps/notes/management/commands/populate_s3.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/management/commands/populate_s3.py
b/karmaworld/apps/notes/management/commands/populate_s3.py
index 83c5d696a1ec9d1a5ceebbf5210cd19b764bb75d..8cc19f4d3bc12176a94615ecde5248eb00133420 100644
(file)
--- a/
karmaworld/apps/notes/management/commands/populate_s3.py
+++ b/
karmaworld/apps/notes/management/commands/populate_s3.py
@@
-43,7
+43,7
@@
class Command(BaseCommand):
# S3 upload wants a file-like object.
htmlflo = StringIO(html)
# Create the new key (key == filename in S3 bucket)
- newkey = default_storage.bucket.new(filepath)
+ newkey = default_storage.bucket.new
_key
(filepath)
# Upload data!
newkey.send_file(htmlflo)