[Pkg-bazaar-commits] ./bzr/unstable r447: - atomicfile temporaries should end in .tmp to make it
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:19:35 UTC 2009
------------------------------------------------------------
revno: 447
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 18:56:28 +1000
message:
- atomicfile temporaries should end in .tmp to make it
easier to clean them up
modified:
bzrlib/atomicfile.py
-------------- next part --------------
=== modified file 'bzrlib/atomicfile.py'
--- a/bzrlib/atomicfile.py 2005-05-10 06:13:49 +0000
+++ b/bzrlib/atomicfile.py 2005-05-10 08:56:28 +0000
@@ -32,7 +32,7 @@
raise ValueError("invalid AtomicFile mode %r" % mode)
import os, socket
- self.tmpfilename = '%s.tmp.%d.%s' % (filename, os.getpid(),
+ self.tmpfilename = '%s.%d.%s.tmp' % (filename, os.getpid(),
socket.gethostname())
self.realfilename = filename
More information about the Pkg-bazaar-commits
mailing list