[Zope-Checkins] CVS: ZODB3/Tools - repozo.py:1.1.2.9
Tim Peters
tim.one at comcast.net
Sun Aug 17 00:05:35 EDT 2003
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv13322/Tools
Modified Files:
Tag: ZODB3-3_1-branch
repozo.py
Log Message:
do_backup(): Close the source .fs file after mucking with it in
incremental backup mode.
=== ZODB3/Tools/repozo.py 1.1.2.8 => 1.1.2.9 ===
--- ZODB3/Tools/repozo.py:1.1.2.8 Sat Aug 16 22:58:24 2003
+++ ZODB3/Tools/repozo.py Sat Aug 16 23:05:31 2003
@@ -408,6 +408,7 @@
srcfp = open(options.file, 'rb')
srcfp.seek(startpos)
srcsum = checksum(srcfp, endpos-startpos)
+ srcfp.close()
log('last incremental file: %s', fn)
log('last incremental checksum: %s', sum)
log('source checksum range: [%s..%s], sum: %s',
More information about the Zope-Checkins
mailing list