# HG changeset patch # User Goffi # Date 1402584609 -7200 # Node ID d6daa00ba564fdac521b65b44e13e1b98020c7ce # Parent 647b293fae0623d77b203a9159e58d5fa822b1a6 server side: forgotten parenthesis diff -r 647b293fae06 -r d6daa00ba564 src/server/server.py --- a/src/server/server.py Thu Jun 12 16:29:14 2014 +0200 +++ b/src/server/server.py Thu Jun 12 16:50:09 2014 +0200 @@ -1013,7 +1013,7 @@ ['ssl_certificate', 'c', 'libervia.pem', _(u'PEM certificate with both private and public parts.').encode('utf-8'), str], ['redirect_to_https', 'r', 1, _(u'Automatically redirect from HTTP to HTTPS.').encode('utf-8'), int], ['security_warning', 'w', 1, _(u'Warn user that he is about to connect on HTTP.').encode('utf-8'), int], - ['passphrase', 'k', '', _(u"Passphrase for the SàT profile named '%s'" % C.SERVICE_PROFILE).encode('utf-8'), str], + ['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