Skip to content
Snippets Groups Projects

Fixed option to use Neo4j API on lb-sdb-query and add command that uses it,…

Merged Ben Couturier requested to merge DirectNeo4jLbSdbQuery into master
2 files
+ 11
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -24,11 +24,11 @@ class LbSdbQuery(Script):
default = False,
action = "store_true",
help = "JSON output format")
parser.add_option("--readonly",
dest = "readonly",
default = True,
parser.add_option("--noxmlrpc",
dest = "noxmlrpc",
default = False,
action = "store_true",
help = "Use the read only interface to Neo4j (for methods available)")
help = "Use the py2neo interface to Neo4j instead of XMLRPC")
parser.add_option("--debug-py2neo",
dest = "debugpy2neo",
default = False,
@@ -60,7 +60,7 @@ class LbSdbQuery(Script):
sys.exit(1)
# Initializing the ConfDB interface
if opts.readonly:
if not opts.noxmlrpc:
from SoftConfDBRO import SoftConfDBRO
self.mConfDB = SoftConfDBRO()
else:
Loading