Mon Sep 26 17:48:10 PDT 2005

svn: r5240
This commit is contained in:
Alex Roitman 2005-09-27 00:48:10 +00:00
parent 3c3aaaa807
commit 1897c62962

View File

@ -259,8 +259,11 @@ class Checkpoint(Tool.Tool):
Passed the generated XML file to the specified command.
"""
proc = popen2.Popen3(cmd, True)
xmlwrite = WriteXML.XmlWriter(self.db,self.callback,False,False)
xmlwrite.write_handle(proc.tochild)
if checkin:
xmlwrite = WriteXML.XmlWriter(self.db,self.callback,False,False)
xmlwrite.write_handle(proc.tochild)
else:
pass
proc.tochild.close()
status = proc.wait()
message = "\n".join(proc.childerr.readlines())