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
03cf4b6b
Commit
03cf4b6b
authored
May 08, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explicit log output when client fails to connect because of bad
storage id
parent
95cb9170
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+2
-1
No files found.
src/ZEO/StorageServer.py
View file @
03cf4b6b
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
#
#
##############################################################################
##############################################################################
__version__
=
"$Revision: 1.2
4
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.2
5
$"
[
11
:
-
2
]
import
asyncore
,
socket
,
string
,
sys
,
os
import
asyncore
,
socket
,
string
,
sys
,
os
from
smac
import
SizedMessageAsyncConnection
from
smac
import
SizedMessageAsyncConnection
...
@@ -142,6 +142,7 @@ class StorageServer(asyncore.dispatcher):
...
@@ -142,6 +142,7 @@ class StorageServer(asyncore.dispatcher):
def
register_connection
(
self
,
connection
,
storage_id
):
def
register_connection
(
self
,
connection
,
storage_id
):
storage
=
self
.
__storages
.
get
(
storage_id
,
None
)
storage
=
self
.
__storages
.
get
(
storage_id
,
None
)
if
storage
is
None
:
if
storage
is
None
:
LOG
(
'ZEO Server'
,
ERROR
,
"Unknown storage_id: %s"
%
storage_id
)
connection
.
close
()
connection
.
close
()
return
None
,
None
return
None
,
None
...
...
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