diff src/twisted/plugins/libervia_server.py @ 570:2a4e071633f7

server side (twisted plugin): fixed bad use of default value in getConfig
author Goffi <goffi@goffi.org>
date Sat, 11 Oct 2014 16:28:27 +0200
parents 530c88c1deee
children 5319110a862c
line wrap: on
line diff
--- a/src/twisted/plugins/libervia_server.py	Fri Oct 10 16:45:53 2014 +0200
+++ b/src/twisted/plugins/libervia_server.py	Sat Oct 11 16:28:27 2014 +0200
@@ -110,7 +110,7 @@
         for param in self.optParameters + OPT_PARAMETERS_CFG:
             name = param[0]
             try:
-                value = getConfig(config, 'libervia', name)
+                value = getConfig(config, 'libervia', name, Exception)
                 try:
                     param[2] = param[4](value)
                 except IndexError: # the coerce method is optional