# HG changeset patch # User Goffi # Date 1453657661 -3600 # Node ID e17b15f1f260164fd5c352e6f4280ceb5a627fe3 # Parent fd438e51bda880e6ed8eca1e60c1e03b9231d358 server: added url_redirections_dict and url_redirections_profile in options diff -r fd438e51bda8 -r e17b15f1f260 src/twisted/plugins/libervia_server.py --- a/src/twisted/plugins/libervia_server.py Sun Jan 24 18:45:35 2016 +0100 +++ b/src/twisted/plugins/libervia_server.py Sun Jan 24 18:47:41 2016 +0100 @@ -97,7 +97,12 @@ ['passphrase', 'k', '', (_(u"Passphrase for the SàT profile named '%s'") % C.SERVICE_PROFILE).encode('utf-8'), str], ['data_dir', 'd', DATA_DIR_DEFAULT, _(u'Data directory for Libervia').encode('utf-8'), coerceDataDir], ] # options which are in sat.conf and on command line, see https://twistedmatrix.com/documents/current/api/twisted.python.usage.Options.html -OPT_PARAMETERS_CFG = [['empty_password_allowed_warning_dangerous_list', None, '', None]] # Options which are in sat.conf only +# Options which are in sat.conf only +OPT_PARAMETERS_CFG = [ + ['empty_password_allowed_warning_dangerous_list', None, '', None], + ['url_redirections_profile', None, '', None], + ['url_redirections_dict', None, {}, None], +] def initialise(options): """Method to initialise global modules"""