From: Arno B. <arn...@us...> - 2004-08-05 21:55:52
|
Update of /cvsroot/firebird/qmdb/QMTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31415 Modified Files: fbqa.py Log Message: fix open file problem by exception Index: fbqa.py =================================================================== RCS file: /cvsroot/firebird/qmdb/QMTest/fbqa.py,v retrieving revision 1.7 retrieving revision 1.8 diff -b -U3 -r1.7 -r1.8 --- fbqa.py 4 Aug 2004 14:50:56 -0000 1.7 +++ fbqa.py 5 Aug 2004 21:55:42 -0000 1.8 @@ -803,6 +803,8 @@ except: self.__result.NoteException(cause="Exception raised while executing python source code.") + stdout_f.close() + os.remove(py_stdout_fname) else: sys.stdout= saved_out stdout_e_stripped= self.__StringStrip(self.result_string, isql=False) |