1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

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")
return
server = Server(options.host, options.port, options.ipc, options.quiet)
server = Server(options.host, options.port, options.ipc)
server.load_modules()
server.run()

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)