Remove unused parameter

This commit is contained in:
Jerry Seutter committed 2014-09-29 16:01:39 -06:00
1 parent efc80ff17a
commit d4d774055a
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ def main():
log.critical("the current working directory doesn't exist")
return
server = Server(options.host, options.port, options.ipc, options.quiet)
server = Server(options.host, options.port, options.ipc)
server.load_modules()
server.run()
+1 -2
View File
@@ -58,7 +58,7 @@ class Server(object):
(r"/upload", FileUploadHandler),
(r"/login", LoginHandler)]
def __init__(self, host, port, ipc, quiet):
def __init__(self, host, port, ipc):
self._host = host
self._port = port
@@ -79,7 +79,6 @@ class Server(object):
log.critical("server cannot listen to {}: {}".format(self._host, e))
raise SystemExit
self._ipc = ipc
self._quiet = quiet
self._modules = []
# get the projects and temp directories from the configuration file (passed to the modules)