Mercurial > libervia-web
diff src/twisted/plugins/libervia_server.py @ 810:3905bc24eb17
server: proper options handling
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 18 Dec 2015 21:29:24 +0100 |
parents | bf562fb9c273 |
children | b1826adbeeff |
line wrap: on
line diff
--- a/src/twisted/plugins/libervia_server.py Fri Dec 18 19:37:13 2015 +0100 +++ b/src/twisted/plugins/libervia_server.py Fri Dec 18 21:29:24 2015 +0100 @@ -130,7 +130,7 @@ def makeService(self, options): initialise(options.parent) from libervia.server import server - return server.Libervia(**dict(options)) # get rid of the usage.Option overload + return server.Libervia(options) # affectation to some variable is necessary for twisted introspection to work