[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/ClientStorage.py Small change to deal with windows limitations.
Jim Fulton
jim at zope.com
Wed Jun 10 16:21:30 EDT 2009
Log message for revision 100811:
Small change to deal with windows limitations.
Changed:
U ZODB/trunk/src/ZEO/ClientStorage.py
-=-
Modified: ZODB/trunk/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStorage.py 2009-06-10 20:20:47 UTC (rev 100810)
+++ ZODB/trunk/src/ZEO/ClientStorage.py 2009-06-10 20:21:29 UTC (rev 100811)
@@ -1678,7 +1678,10 @@
if size <= target:
if os.path.isfile(attempt_path):
- os.remove(attempt_path)
+ try:
+ os.remove(attempt_path)
+ except OSError:
+ pass # Sigh, windows
continue
logger.debug("%s -->", thread.get_ident())
break
More information about the Zodb-checkins
mailing list