server: Use a property factory for the server config.

This commit is contained in:
Damir Jelić 2018-08-28 17:22:56 +02:00
parent 7c7612bdcd
commit b05c016fbd
2 changed files with 24 additions and 43 deletions

View file

@ -151,6 +151,7 @@ def print_certificate_info(buff, sock, cert):
W.prnt(buff, message)
def wrap_socket(server, file_descriptor):
# type: (MatrixServer, int) -> None
sock = None # type: socket.socket