[Zodb-checkins] CVS: ZODB3/ZEO - ClientCache.py:1.30.2.3
Guido van Rossum
guido@python.org
Wed, 28 Aug 2002 17:36:37 -0400
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv29014
Modified Files:
Tag: zeo_trace_branch
ClientCache.py
Log Message:
Write a newline when opening the trace file. This makes it easier to
find the start of a new run when visually browsing; it also terminates
an incomplete line from an aborted previous run.
=== ZODB3/ZEO/ClientCache.py 1.30.2.2 => 1.30.2.3 ===
--- ZODB3/ZEO/ClientCache.py:1.30.2.2 Wed Aug 28 17:23:46 2002
+++ ZODB3/ZEO/ClientCache.py Wed Aug 28 17:36:37 2002
@@ -228,6 +228,7 @@
if tfn:
try:
self._tracefile = open(tfn, "a")
+ self._tracefile.write("\n") # Force start of new line
self.trace("Tracefile %s" % time.ctime(time.time()))
except IOError:
self._tracefile = None