Mercurial > libervia-web
comparison src/server/server.py @ 476:d6daa00ba564
server side: forgotten parenthesis
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 12 Jun 2014 16:50:09 +0200 |
parents | 647b293fae06 |
children | bbdc5357dc00 |
comparison
equal
deleted
inserted
replaced
475:647b293fae06 | 476:d6daa00ba564 |
---|---|
1011 ['port_https', 's', 8443, _(u'The port number to listen HTTPS on.').encode('utf-8'), int], | 1011 ['port_https', 's', 8443, _(u'The port number to listen HTTPS on.').encode('utf-8'), int], |
1012 ['port_https_ext', 'e', 0, _(u'The external port number used for HTTPS (0 means port_https value).').encode('utf-8'), int], | 1012 ['port_https_ext', 'e', 0, _(u'The external port number used for HTTPS (0 means port_https value).').encode('utf-8'), int], |
1013 ['ssl_certificate', 'c', 'libervia.pem', _(u'PEM certificate with both private and public parts.').encode('utf-8'), str], | 1013 ['ssl_certificate', 'c', 'libervia.pem', _(u'PEM certificate with both private and public parts.').encode('utf-8'), str], |
1014 ['redirect_to_https', 'r', 1, _(u'Automatically redirect from HTTP to HTTPS.').encode('utf-8'), int], | 1014 ['redirect_to_https', 'r', 1, _(u'Automatically redirect from HTTP to HTTPS.').encode('utf-8'), int], |
1015 ['security_warning', 'w', 1, _(u'Warn user that he is about to connect on HTTP.').encode('utf-8'), int], | 1015 ['security_warning', 'w', 1, _(u'Warn user that he is about to connect on HTTP.').encode('utf-8'), int], |
1016 ['passphrase', 'k', '', _(u"Passphrase for the SàT profile named '%s'" % C.SERVICE_PROFILE).encode('utf-8'), str], | 1016 ['passphrase', 'k', '', (_(u"Passphrase for the SàT profile named '%s'") % C.SERVICE_PROFILE).encode('utf-8'), str], |
1017 ['data_dir', 'd', DATA_DIR_DEFAULT, _(u'Data directory for Libervia').encode('utf-8'), coerceDataDir], | 1017 ['data_dir', 'd', DATA_DIR_DEFAULT, _(u'Data directory for Libervia').encode('utf-8'), coerceDataDir], |
1018 ] # options which are in sat.conf and on command line, see https://twistedmatrix.com/documents/current/api/twisted.python.usage.Options.html | 1018 ] # options which are in sat.conf and on command line, see https://twistedmatrix.com/documents/current/api/twisted.python.usage.Options.html |
1019 OPT_PARAMETERS_CFG = [['empty_password_allowed_warning_dangerous_list', None, '', None]] # Options which are in sat.conf only | 1019 OPT_PARAMETERS_CFG = [['empty_password_allowed_warning_dangerous_list', None, '', None]] # Options which are in sat.conf only |
1020 | 1020 |
1021 def __init__(self, *args, **kwargs): | 1021 def __init__(self, *args, **kwargs): |