You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ru...@apache.org on 2003/05/01 01:28:54 UTC
cvs commit: jakarta-gump/python/gump gen.py
rubys 2003/04/30 16:28:54
Modified: python/gump gen.py
Log:
Patch by Samuele Pedroni <pe...@bluewin.ch>
Revision Changes Path
1.4 +5 -6 jakarta-gump/python/gump/gen.py
Index: gen.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/gen.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gen.py 28 Apr 2003 23:32:37 -0000 1.3
+++ gen.py 30 Apr 2003 23:28:53 -0000 1.4
@@ -141,13 +141,12 @@
workspace=load(ws)
+ f=open( default.merge, 'w')
try:
- f=open( default.merge, 'w')
xmlize('workspace',workspace,f)
finally:
# Since we may exit via an exception, close fp explicitly.
- if f:
- f.close()
+ f.close()