Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
ba7fae18
Commit
ba7fae18
authored
Sep 27, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whle we're at it, show the length of the message output as well. Get
rid of the silly "smac" word.
parent
b70bef7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/ZEO/zrpc/smac.py
src/ZEO/zrpc/smac.py
+3
-2
No files found.
src/ZEO/zrpc/smac.py
View file @
ba7fae18
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""Sized message async connections
$Id: smac.py,v 1.2
8 2002/09/27 19:14:16
gvanrossum Exp $
$Id: smac.py,v 1.2
9 2002/09/27 19:28:29
gvanrossum Exp $
"""
import
asyncore
,
struct
...
...
@@ -181,7 +181,8 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
m
=
message
[:
40
]
+
' ...'
else
:
m
=
message
log
(
'smac message_output %s'
%
`m`
,
level
=
zLOG
.
TRACE
)
log
(
'message_output %d bytes: %s'
%
(
len
(
message
),
`m`
),
level
=
zLOG
.
TRACE
)
if
self
.
__closed
:
raise
Disconnected
,
(
...
...
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