You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ni...@apache.org on 2003/04/24 12:11:49 UTC
cvs commit: jakarta-gump/python gen.py gumpconf.py
nicolaken 2003/04/24 03:11:47
Modified: python gen.py gumpconf.py
Log:
Put merge.xml in the work dir, not in the cache
Revision Changes Path
1.5 +3 -1 jakarta-gump/python/gen.py
Index: gen.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gen.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gen.py 24 Apr 2003 07:46:24 -0000 1.4
+++ gen.py 24 Apr 2003 10:11:46 -0000 1.5
@@ -72,7 +72,9 @@
workspace=load(ws)
try:
- f=open(dir.cache+'/'+default.merge, 'w')
+ if not os.path.exists(dir.work):
+ os.path.mkdir(dir.work)
+ f=open(dir.work+'/'+default.merge, 'w')
xmlize('workspace',workspace,f)
finally:
# Since we may exit via an exception, close fp explicitly.
1.3 +1 -0 jakarta-gump/python/gumpconf.py
Index: gumpconf.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gumpconf.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gumpconf.py 23 Apr 2003 18:21:18 -0000 1.2
+++ gumpconf.py 24 Apr 2003 10:11:47 -0000 1.3
@@ -8,6 +8,7 @@
class dir:
base = ".."
cache = "cache"
+ work = "work"
class default:
workspace = socket.gethostname().split('.')[0] + ".xml"