Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
7ebc2f00
Commit
7ebc2f00
authored
Aug 16, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Robustification-- catch OSError when tempfile is closed.
parent
65da8605
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/ZEO/ClientCache.py
src/ZEO/ClientCache.py
+5
-2
No files found.
src/ZEO/ClientCache.py
View file @
7ebc2f00
...
...
@@ -144,7 +144,7 @@ file 0 and file 1.
"""
__version__
=
"$Revision: 1.1
6
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.1
7
$"
[
11
:
-
2
]
import
os
,
tempfile
from
struct
import
pack
,
unpack
...
...
@@ -215,7 +215,10 @@ class ClientCache:
self
.
_current
=
current
def
close
(
self
):
self
.
_f
[
self
.
_current
].
close
()
try
:
self
.
_f
[
self
.
_current
].
close
()
except
OSError
:
pass
def
open
(
self
):
self
.
_acquire
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment