SVN: ZODB/trunk/src/ZEO/CommitLog.py Use a more informative temporary file name.
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.python.zope.zodb.cvs |
|---|---|
| Message-ID | <20100205215234.B4FE6941AF__1264.91609630666$1265406762$gmane$org@cvs.zope.org> |
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