geard: wrong reference to setup_logging()

Prevents the server from starting since self.server does not exist :)

Change-Id: I334f298137603919fb57389f73f8e1993ec18fca
This commit is contained in:
Antoine Musso 2013-11-27 18:36:56 +01:00
parent f74572696b
commit e5c334c6b4

View File

@ -68,7 +68,7 @@ class Server(object):
filename="/var/log/geard/geard.log") filename="/var/log/geard/geard.log")
def main(self): def main(self):
self.server.setup_logging() self.setup_logging()
self.server = gear.Server(self.args.port, self.server = gear.Server(self.args.port,
self.args.ssl_key, self.args.ssl_key,
self.args.ssl_cert, self.args.ssl_cert,