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
3fec4906
Commit
3fec4906
authored
Mar 06, 2013
by
Albertas Agejevas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protocol versions are byte strings.
parent
29b33f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+2
-2
No files found.
src/ZEO/StorageServer.py
View file @
3fec4906
...
...
@@ -108,7 +108,7 @@ class ZEOStorage:
def
notifyConnected
(
self
,
conn
):
self
.
connection
=
conn
assert
conn
.
peer_protocol_version
is
not
None
if
conn
.
peer_protocol_version
<
'Z309'
:
if
conn
.
peer_protocol_version
<
b
'Z309'
:
self
.
client
=
ClientStub308
(
conn
)
conn
.
register_object
(
ZEOStorage308Adapter
(
self
))
else
:
...
...
@@ -253,7 +253,7 @@ class ZEOStorage:
supportsUndo
=
(
getattr
(
storage
,
'supportsUndo'
,
lambda
:
False
)()
and
self
.
connection
.
peer_protocol_version
>=
'Z310'
)
and
self
.
connection
.
peer_protocol_version
>=
b
'Z310'
)
# Communicate the backend storage interfaces to the client
storage_provides
=
zope
.
interface
.
providedBy
(
storage
)
...
...
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