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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
155f34e8
Commit
155f34e8
authored
Aug 30, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log result of opening the trace file.
parent
30919f0d
Changes
1
Show 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 @
155f34e8
...
@@ -97,7 +97,7 @@ with '\0\0\0\0'.
...
@@ -97,7 +97,7 @@ with '\0\0\0\0'.
If var is not writable, then temporary files are used for
If var is not writable, then temporary files are used for
file 0 and file 1.
file 0 and file 1.
$Id: ClientCache.py,v 1.3
1 2002/08/30 18:13:43
gvanrossum Exp $
$Id: ClientCache.py,v 1.3
2 2002/08/30 20:02:42
gvanrossum Exp $
"""
"""
import
os
import
os
...
@@ -492,8 +492,11 @@ class ClientCache:
...
@@ -492,8 +492,11 @@ class ClientCache:
try
:
try
:
self
.
_tracefile
=
open
(
tfn
,
"ab"
)
self
.
_tracefile
=
open
(
tfn
,
"ab"
)
self
.
_trace
(
0x00
)
self
.
_trace
(
0x00
)
except
IOError
:
except
IOError
,
msg
:
self
.
_tracefile
=
None
self
.
_tracefile
=
None
log
(
"cannot write tracefile %s (%s)"
%
(
tfn
,
msg
))
else
:
log
(
"opened tracefile %s"
%
tfn
)
if
self
.
_tracefile
is
None
:
if
self
.
_tracefile
is
None
:
def
notrace
(
*
args
):
def
notrace
(
*
args
):
pass
pass
...
...
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