Skip to content

Commit

Permalink
Minor cosmetic change on the error message shown if a bucket doesn't …
Browse files Browse the repository at this point in the history
…exist and isn't automatically created.
  • Loading branch information
jezdez committed Jan 26, 2013
1 parent af4e2ef commit e904c75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion storages/backends/gs.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ def _get_or_create_bucket(self, name):
return bucket
raise ImproperlyConfigured("Bucket %s does not exist. Buckets "
"can be automatically created by "
"setting appropriate setting." % name)
"setting GS_AUTO_CREATE_BUCKET to "
"``True``." % name)
3 changes: 2 additions & 1 deletion storages/backends/s3boto.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def _get_or_create_bucket(self, name):
return bucket
raise ImproperlyConfigured("Bucket %s does not exist. Buckets "
"can be automatically created by "
"setting appropriate setting." % name)
"setting AWS_AUTO_CREATE_BUCKET to "
"``True``." % name)

def _clean_name(self, name):
"""
Expand Down

0 comments on commit e904c75

Please sign in to comment.