Commit 50a6cf41 authored by Julien Muchembled's avatar Julien Muchembled

neoctl: don't print 'None' on successful check/truncate commands

parent 82d95846
...@@ -43,5 +43,6 @@ def main(args=None): ...@@ -43,5 +43,6 @@ def main(args=None):
from neo.neoctl.app import Application from neo.neoctl.app import Application
ssl = options.ca, options.cert, options.key ssl = options.ca, options.cert, options.key
print Application(address, ssl=ssl if any(ssl) else None).execute(args) r = Application(address, ssl=ssl if any(ssl) else None).execute(args)
if r is not None:
print r
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