[Zodb-checkins]
SVN: ZODB/branches/jim-zeo-blob/src/ZODB/lock_file.py
Added a missing seek after failing tests on windows.
Jim Fulton
jim at zope.com
Thu May 17 15:23:40 EDT 2007
Log message for revision 75817:
Added a missing seek after failing tests on windows.
Changed:
U ZODB/branches/jim-zeo-blob/src/ZODB/lock_file.py
-=-
Modified: ZODB/branches/jim-zeo-blob/src/ZODB/lock_file.py
===================================================================
--- ZODB/branches/jim-zeo-blob/src/ZODB/lock_file.py 2007-05-17 19:11:36 UTC (rev 75816)
+++ ZODB/branches/jim-zeo-blob/src/ZODB/lock_file.py 2007-05-17 19:23:40 UTC (rev 75817)
@@ -43,6 +43,7 @@
def _unlock_file(file):
try:
+ file.seek(0)
msvcrt.locking(file.fileno(), msvcrt.LK_UNLCK, 1)
except IOError:
raise LockError("Couldn't unlock %r" % file.name)
More information about the Zodb-checkins
mailing list