comparison rgToolFactory.py @ 111:9f2e0ec3e826 draft

Uploaded
author fubar
date Wed, 22 Oct 2014 23:37:31 -0400
parents 96ebf676f6c0
children
comparison
equal deleted inserted replaced
110:d7e2a0c0cce9 111:9f2e0ec3e826
560 p.stdin.close() 560 p.stdin.close()
561 retval = p.wait() 561 retval = p.wait()
562 if self.opts.output_dir: 562 if self.opts.output_dir:
563 sto.close() 563 sto.close()
564 ste.close() 564 ste.close()
565 err = open(self.elog,'r').readlines() 565 err = open(self.elog,'r').read()
566 if retval <> 0 and err: # problem 566 if retval <> 0 and err: # problem
567 print >> sys.stderr,err 567 print >> sys.stderr,err
568 if self.opts.make_HTML: 568 if self.opts.make_HTML:
569 self.makeHtml() 569 self.makeHtml()
570 return retval 570 return retval