From 8d72f203b8912f5bf0ad655d2782960fe143a21a Mon Sep 17 00:00:00 2001 From: Kamil Páral Date: Feb 20 2019 13:05:19 +0000 Subject: settings.py: use lists instead of tuples Admins are not python programmers and defining a tuple with a single value is tricky. Let's save them some troubles by using a list (we use lists in other config options as well), which has less pitfalls. --- diff --git a/conf/settings.py.example b/conf/settings.py.example index 9651374..466e2bc 100644 --- a/conf/settings.py.example +++ b/conf/settings.py.example @@ -31,7 +31,7 @@ REQUIRED_DATA = { } # Extend the list of allowed outcomes. -ADDITIONAL_RESULT_OUTCOMES = () +ADDITIONAL_RESULT_OUTCOMES = [] # Fedmenu configuration FEDMENU_URL = 'https://apps.fedoraproject.org/fedmenu' @@ -83,5 +83,3 @@ MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'} # Publish Taskotron-compatible fedmsgs on the 'taskotron' topic MESSAGE_BUS_PUBLISH_TASKOTRON = False - -