changeset 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 fb81aeccde8b
children f0c8a4d51890
files src/twisted/plugins/libervia_server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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