From f6643d899f25f82d299bbe160f6590d10981e9ba Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Thu, 2 Sep 2021 19:43:18 +0200 Subject: [PATCH] remove the obsolete configuration entries --- aman/config/Server.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/aman/config/Server.py b/aman/config/Server.py index b3216d0..46567f1 100644 --- a/aman/config/Server.py +++ b/aman/config/Server.py @@ -8,8 +8,6 @@ class Server(): self.Address = None self.PortReceiver = None self.PortNotification = None - self.ServerKeyPath = None - self.ClientKeyPath = None # search the required sections for key in config: @@ -19,10 +17,6 @@ class Server(): self.PortReceiver = int(config['portreceiver']) elif 'portnotification' == key: self.PortNotification = int(config['portnotification']) - elif 'serverkeypath' == key: - self.ServerKeyPath = config['serverkeypath'] - elif 'clientkeypath' == key: - self.ClientKeyPath = config['clientkeypath'] if self.Address is None: sys.stderr.write('No server-address configuration found!') @@ -33,9 +27,3 @@ class Server(): if self.PortNotification is None: sys.stderr.write('No server-port-notification configuration found!') sys.exit(-1) - if self.ServerKeyPath is None: - sys.stderr.write('No server-key-path configuration found!') - sys.exit(-1) - if self.ClientKeyPath is None: - sys.stderr.write('No client-key-path configuration found!') - sys.exit(-1)