Return error

This commit is contained in:
Luis San Pablo 2015-12-07 21:53:33 -06:00
parent d86a901aff
commit 13c66b9dfe

View File

@ -213,6 +213,7 @@ class APISettings(object):
for setting in DEPRECEATED_SETTINGS:
if setting in user_settings:
raise AttributeError("The '%s' setting has been removed. Please refer to '%s' for available settings." % setting, SETTINGS_DOC)
return user_settings
api_settings = APISettings(None, DEFAULTS, IMPORT_STRINGS)