summaryrefslogtreecommitdiffstats
path: root/func/certmaster.py
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-10-03 15:49:47 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-10-03 15:49:47 -0400
commit7ce5ca845806274e307d600d506c19a8b31973e4 (patch)
treeb8a0ef743c1bddaab3926c36137c1beea008db61 /func/certmaster.py
parentc88e8710546a2f3fc7a2503feba4300dacbdda03 (diff)
downloadthird_party-func-7ce5ca845806274e307d600d506c19a8b31973e4.tar.gz
third_party-func-7ce5ca845806274e307d600d506c19a8b31973e4.tar.xz
third_party-func-7ce5ca845806274e307d600d506c19a8b31973e4.zip
get rid of listen_port option since we really don't want that to be an option
right now anyway
Diffstat (limited to 'func/certmaster.py')
-rwxr-xr-xfunc/certmaster.py4
1 files changed, 3 insertions, 1 deletions
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()