Remove unused parameter

This commit is contained in:
Jerry Seutter 2014-09-29 16:01:39 -06:00
parent efc80ff17a
commit d4d774055a
2 changed files with 2 additions and 3 deletions

View File

@ -127,7 +127,7 @@ def main():
log.critical("the current working directory doesn't exist") log.critical("the current working directory doesn't exist")
return return
server = Server(options.host, options.port, options.ipc, options.quiet) server = Server(options.host, options.port, options.ipc)
server.load_modules() server.load_modules()
server.run() server.run()

View File

@ -58,7 +58,7 @@ class Server(object):
(r"/upload", FileUploadHandler), (r"/upload", FileUploadHandler),
(r"/login", LoginHandler)] (r"/login", LoginHandler)]
def __init__(self, host, port, ipc, quiet): def __init__(self, host, port, ipc):
self._host = host self._host = host
self._port = port self._port = port
@ -79,7 +79,6 @@ class Server(object):
log.critical("server cannot listen to {}: {}".format(self._host, e)) log.critical("server cannot listen to {}: {}".format(self._host, e))
raise SystemExit raise SystemExit
self._ipc = ipc self._ipc = ipc
self._quiet = quiet
self._modules = [] self._modules = []
# get the projects and temp directories from the configuration file (passed to the modules) # get the projects and temp directories from the configuration file (passed to the modules)