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
59983c08
Commit
59983c08
authored
Sep 02, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dumb mistake made under pressure.
parent
80ac0af2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/ClientCache.py
src/ZEO/ClientCache.py
+2
-2
No files found.
src/ZEO/ClientCache.py
View file @
59983c08
...
...
@@ -144,7 +144,7 @@ file 0 and file 1.
"""
__version__
=
"$Revision: 1.1
0
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.1
1
$"
[
11
:
-
2
]
import
os
,
tempfile
from
struct
import
pack
,
unpack
...
...
@@ -327,7 +327,7 @@ class ClientCache:
# we need to remove the old file before
# we open the new one. Waaaaaaaaaa.
if
self
.
_f
[
current
]
is
not
None
:
close
(
self
.
_f
[
current
]
)
self
.
_f
[
current
].
close
(
)
try
:
os
.
remove
(
self
.
_p
[
current
])
except
:
pass
self
.
_f
[
current
]
=
open
(
self
.
_p
[
current
],
'w+b'
)
...
...
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