From 7ce5ca845806274e307d600d506c19a8b31973e4 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 3 Oct 2007 15:49:47 -0400 Subject: get rid of listen_port option since we really don't want that to be an option right now anyway --- func/certmaster.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'func/certmaster.py') diff --git a/func/certmaster.py b/func/certmaster.py index e881b3e..e8c046d 100755 --- a/func/certmaster.py +++ b/func/certmaster.py @@ -33,6 +33,8 @@ import utils from config import read_config from commonconfig import CMConfig +CERTMASTER_LISTEN_PORT = 51235 + class CertMaster(object): def __init__(self, conf_file): self.cfg = read_config(conf_file, CMConfig) @@ -203,7 +205,7 @@ def serve(xmlrpcinstance): Code for starting the XMLRPC service. """ - server = CertmasterXMLRPCServer((xmlrpcinstance.cfg.listen_addr, xmlrpcinstance.cfg.listen_port)) + server = CertmasterXMLRPCServer((xmlrpcinstance.cfg.listen_addr, CERTMASTER_LISTEN_PORT)) server.logRequests = 0 # don't print stuff to console server.register_instance(xmlrpcinstance) server.serve_forever() -- cgit