Commit c5acebd9 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

remove option --server3. Twisted needs the same (either 2 or 3)

on both sides, so this option is useless.
parent 613f7b62
......@@ -221,7 +221,6 @@ class Options(object):
csv = None
continueServer = False
fixed = False
server3 = isPython3
def __init__(self):
raise Exception('Options is not meant to be instantiated')
......
......@@ -101,9 +101,6 @@ def defineOptions():
options.add(
"port <PORT>",
ki18n("use a dedicated server listening on PORT. Intended only for testing"))
options.add(
"server3",
ki18n("start the server using Python 3. Meant only for testing."))
options.add("debug <OPTIONS>", ki18n(Debug.help()))
return options
......@@ -113,7 +110,6 @@ def parseOptions():
args = KCmdLineArgs.parsedArgs()
Internal.app = APP
Options.playOpen |= args.isSet('playopen')
Options.server3 |= args.isSet('server3')
Options.showRulesets |= args.isSet('rulesets')
Options.rulesetName = str(args.getOption('ruleset'))
if args.isSet('host'):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment