Skip to content

Commit

Permalink
Fix accepting settings arguments to s3boto backend storage
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Mar 25, 2013
1 parent dfd3a2b commit 0e2ac57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storages/backends/s3boto.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def __init__(self, acl=None, bucket=None, **settings):
# check if some of the settings we've provided as class attributes
# need to be overwritten with values passed in here
for name, value in settings.items():
if name in self.__dict__:
if hasattr(self, name):
setattr(self, name, value)

# For backward-compatibility of old differing parameter names
Expand Down

0 comments on commit 0e2ac57

Please sign in to comment.