- print >>log, "WARNING: (beg) could not find out hrn on hostname=%s"%node['hostname']
- traceback.print_exc(5,log)
- print >>log, "WARNING: (end) could not find out hrn on hostname=%s"%node['hostname']
+ print >> log, "WARNING: (beg) could not find out hrn on hostname=%s"%node['hostname']
+ traceback.print_exc(5,file=log)
+ print >> log, "WARNING: (end) could not find out hrn on hostname=%s"%node['hostname']