diff src/twisted/plugins/libervia_server.py @ 817:cf1812a4445e

server: fixed empty_password_allowed_warning_dangerous_list option
author Goffi <goffi@goffi.org>
date Sat, 26 Dec 2015 14:36:45 +0100
parents e8c0c2b5e2d5
children f8a7a046ff9c
line wrap: on
line diff
--- a/src/twisted/plugins/libervia_server.py	Sat Dec 26 14:17:29 2015 +0100
+++ b/src/twisted/plugins/libervia_server.py	Sat Dec 26 14:36:45 2015 +0100
@@ -125,6 +125,8 @@
             except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
                 pass
         usage.Options.__init__(self)
+        for opt_data in OPT_PARAMETERS_CFG:
+            self[opt_data[0]] = opt_data[2]
 
     def handleDeprecated(self, config_parser):
         """display warning and/or change option when a deprecated option if found