« Previous | Next » 

Revision 190a2743

ID190a2743df714f9d6f97c1f8558c1edb111d8458

Added by Giorgos Korfiatis almost 11 years ago

astakos: Convert list-like settings to tuple

Settings ADMINS, MANAGERS, and HELPDESK are tuples even though they could
naturally be lists. If one sets by mistake one of these to list, this
triggers an error in notification code, which tries to concatenate them:
concatenation of list and tuple fails. To avoid this, we make sure that
these settings are in tuple form.

Also explicitly set MANAGERS and HELPDESK in the default admin settings
to an empty tuple rather than referring to ADMINS (which is an empty
tuple, too).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences