summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-26 18:43:27 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-26 20:08:20 (GMT)
commitc5acebd9a3cdf11fb4e84ce73e7b040e8721be19 (patch)
treedbe2ca1805a72ddddae693724a6a19bfb6e3a6ae
parent613f7b625dcd0b582729230ab7ea4902302d96ed (diff)
remove option --server3. Twisted needs the same (either 2 or 3)
on both sides, so this option is useless.
-rw-r--r--src/common.py1
-rwxr-xr-xsrc/kajongg.py4
2 files changed, 0 insertions, 5 deletions
diff --git a/src/common.py b/src/common.py
index a98c5f6..7ff5cf5 100644
--- a/src/common.py
+++ b/src/common.py
@@ -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')
diff --git a/src/kajongg.py b/src/kajongg.py
index 8bb36b7..9817cc8 100755
--- a/src/kajongg.py
+++ b/src/kajongg.py
@@ -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'):