Skip to content

Commit

Permalink
Verbose more, only try to print stdout if data exists to print
Browse files Browse the repository at this point in the history
  • Loading branch information
selimnairb committed Jul 6, 2015
1 parent 8b88e2b commit e422c9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/RunLAIRead.py
Expand Up @@ -215,7 +215,8 @@
sys.stdout.write(stdoutStr)
sys.exit("\nlairead failed, returning %s" % (result,))
if args.verbose:
sys.stdout.write(stdoutStr)
if stdoutStr:
sys.stdout.write(stdoutStr)
if stderrStr:
sys.stdout.write(stderrStr)

Expand Down

0 comments on commit e422c9e

Please sign in to comment.