[Checkins] SVN: ZODB/trunk/src/ZEO/CommitLog.py Use a more informative temporary file name.

Jim Fulton jim at zope.com
Fri Feb 5 16:52:34 EST 2010


Log message for revision 108802:
  
  Use a more informative temporary file name.
  

Changed:
  U   ZODB/trunk/src/ZEO/CommitLog.py

-=-
Modified: ZODB/trunk/src/ZEO/CommitLog.py
===================================================================
--- ZODB/trunk/src/ZEO/CommitLog.py	2010-02-05 21:52:00 UTC (rev 108801)
+++ ZODB/trunk/src/ZEO/CommitLog.py	2010-02-05 21:52:34 UTC (rev 108802)
@@ -28,7 +28,7 @@
 class CommitLog:
 
     def __init__(self):
-        self.file = tempfile.TemporaryFile(suffix=".log")
+        self.file = tempfile.TemporaryFile(suffix=".comit-log")
         self.pickler = cPickle.Pickler(self.file, 1)
         self.pickler.fast = 1
         self.stores = 0



More information about the checkins mailing list