Commit 97af779d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 588abd65
...@@ -40,7 +40,7 @@ def main(): ...@@ -40,7 +40,7 @@ def main():
clusterName = sys.argv[2] clusterName = sys.argv[2]
readyf = workdir + "/ready" readyf = workdir + "/ready"
kw = {} kw = {'clear_databases': False} # switch default not to clear data on startup
for arg in sys.argv[3:]: for arg in sys.argv[3:]:
k, v = arg.split('=') k, v = arg.split('=')
kw[k] = v kw[k] = v
...@@ -66,10 +66,7 @@ def main(): ...@@ -66,10 +66,7 @@ def main():
flags = ' ssl' flags = ' ssl'
NEOCluster.SSL = (ca, cert, key) NEOCluster.SSL = (ca, cert, key)
if kw: cluster = NEOCluster([clusterName], adapter='SQLite', name=clusterName, temp_dir=workdir, **kw)
raise RuntimeError(sinfo("unexpected flags: %s" % kw))
cluster = NEOCluster([clusterName], adapter='SQLite', name=clusterName, temp_dir=workdir)
cluster.start() cluster.start()
defer(cluster.stop) defer(cluster.stop)
......
Markdown is supported
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