Lines Matching refs:string
198 def printLog(string, log_fd):
201 sendMsg(string, msgLog, log_fd)
203 def printStdout(string, log_fd):
206 sendMsg(string, msgOut, log_fd)
208 def printStderr(string, log_fd):
211 sendMsg(string, msgErr, log_fd)
213 def composeMsg(string, txt=None):
216 txt can be either a list or string object.
217 Return the newly composed string.
221 msg = string % txt
223 msg = string
227 def sendMsg(string, mode, log_fd=-1):
231 print >> sys.stdout, string,
233 print >> sys.stderr, string
235 log_fd.write(string + "\n")