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
1cbeec85
Commit
1cbeec85
authored
Apr 24, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix two multi-argument appends for Python 2.0+ compatibility
parent
1f772b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+3
-3
No files found.
src/ZEO/StorageServer.py
View file @
1cbeec85
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
#
#
##############################################################################
##############################################################################
__version__
=
"$Revision: 1.2
2
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.2
3
$"
[
11
:
-
2
]
import
asyncore
,
socket
,
string
,
sys
,
os
import
asyncore
,
socket
,
string
,
sys
,
os
from
smac
import
SizedMessageAsyncConnection
from
smac
import
SizedMessageAsyncConnection
...
@@ -492,7 +492,7 @@ class ZEOConnection(SizedMessageAsyncConnection):
...
@@ -492,7 +492,7 @@ class ZEOConnection(SizedMessageAsyncConnection):
if
storage
.
_transaction
is
not
None
:
if
storage
.
_transaction
is
not
None
:
try
:
waiting
=
storage
.
__waiting
try
:
waiting
=
storage
.
__waiting
except
:
waiting
=
storage
.
__waiting
=
[]
except
:
waiting
=
storage
.
__waiting
=
[]
waiting
.
append
(
self
.
unlock
,
(
))
waiting
.
append
(
(
self
.
unlock
,
()
))
return
1
# Return a flag indicating a lock condition.
return
1
# Return a flag indicating a lock condition.
self
.
_transaction
=
t
=
Transaction
()
self
.
_transaction
=
t
=
Transaction
()
...
@@ -512,7 +512,7 @@ class ZEOConnection(SizedMessageAsyncConnection):
...
@@ -512,7 +512,7 @@ class ZEOConnection(SizedMessageAsyncConnection):
else
:
else
:
try
:
waiting
=
storage
.
__waiting
try
:
waiting
=
storage
.
__waiting
except
:
waiting
=
storage
.
__waiting
=
[]
except
:
waiting
=
storage
.
__waiting
=
[]
waiting
.
append
(
self
.
try_again_sync
,
(
id
,
user
,
description
,
ext
))
waiting
.
append
(
(
self
.
try_again_sync
,
(
id
,
user
,
description
,
ext
)
))
return
_noreturn
return
_noreturn
...
...
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