Skip to content
Snippets Groups Projects

Fix LbSdbQuery to print the output of the show command

Merged Ben Couturier requested to merge FixLbSdbQueryShow into master
2 files
+ 4
20
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -26,7 +26,7 @@ class LbSdbQuery(Script):
@@ -26,7 +26,7 @@ class LbSdbQuery(Script):
help = "JSON output format")
help = "JSON output format")
parser.add_option("--readonly",
parser.add_option("--readonly",
dest = "readonly",
dest = "readonly",
default = False,
default = True,
action = "store_true",
action = "store_true",
help = "Use the read only interface to Neo4j (for methods available)")
help = "Use the read only interface to Neo4j (for methods available)")
parser.add_option("--debug-py2neo",
parser.add_option("--debug-py2neo",
@@ -346,7 +346,7 @@ class LbSdbQuery(Script):
@@ -346,7 +346,7 @@ class LbSdbQuery(Script):
self.log.error("Could not find %s %s" % (pname, pversion))
self.log.error("Could not find %s %s" % (pname, pversion))
sys.exit(1)
sys.exit(1)
self.mConfDB.show(pname, pversion)
print(self.mConfDB.show(pname, pversion))
def cmdShowProject(self, args):
def cmdShowProject(self, args):
''' Check the various atributes of a specific node '''
''' Check the various atributes of a specific node '''
@@ -355,7 +355,7 @@ class LbSdbQuery(Script):
@@ -355,7 +355,7 @@ class LbSdbQuery(Script):
sys.exit(1)
sys.exit(1)
pname = args[0].upper()
pname = args[0].upper()
self.mConfDB.showProject(pname)
print(self.mConfDB.showProject(pname))
def cmdlistPlatforms(self, args):
def cmdlistPlatforms(self, args):
''' List the Platforms released for a Couple project version '''
''' List the Platforms released for a Couple project version '''
Loading