Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Hugo Ricateau
erp5
Commits
8a20f072
Commit
8a20f072
authored
Jan 08, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! taskdistribution: really fix lock to avoid errors with concurrent RPC calls
parent
85ffceb0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
CHANGES.erp5.util.txt
CHANGES.erp5.util.txt
+7
-0
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+4
-2
setup.py
setup.py
+1
-1
No files found.
CHANGES.erp5.util.txt
View file @
8a20f072
Changes
Changes
=======
=======
0.4.22 (2013-01-08)
-------------------
* erp5.util.taskdistribution:
- fix regression when used on Python < 2.7
0.4.21 (2013-01-07)
0.4.21 (2013-01-07)
-------------------
-------------------
...
...
erp5/util/taskdistribution/__init__.py
View file @
8a20f072
...
@@ -358,8 +358,10 @@ class ServerProxy(xmlrpclib.ServerProxy):
...
@@ -358,8 +358,10 @@ class ServerProxy(xmlrpclib.ServerProxy):
transport
=
self
.
__transport
transport
=
self
.
__transport
def
make_connection
(
*
args
,
**
kw
):
def
make_connection
(
*
args
,
**
kw
):
conn
=
transport
.
__class__
.
make_connection
(
transport
,
*
args
,
**
kw
)
conn
=
transport
.
__class__
.
make_connection
(
transport
,
*
args
,
**
kw
)
assert
hasattr
(
conn
,
'timeout'
),
conn
# BBB: On Python < 2.7, HTTP connection is wrapped
conn
.
timeout
=
120
c
=
getattr
(
conn
,
'_conn'
,
conn
)
assert
hasattr
(
c
,
'timeout'
)
c
.
timeout
=
120
return
conn
return
conn
transport
.
make_connection
=
make_connection
transport
.
make_connection
=
make_connection
self
.
__rpc_lock
=
threading
.
Lock
()
self
.
__rpc_lock
=
threading
.
Lock
()
...
...
setup.py
View file @
8a20f072
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import
glob
import
glob
import
os
import
os
version
=
'0.4.2
1
'
version
=
'0.4.2
2
'
name
=
'erp5.util'
name
=
'erp5.util'
long_description
=
open
(
"README.erp5.util.txt"
).
read
()
+
"
\
n
"
long_description
=
open
(
"README.erp5.util.txt"
).
read
()
+
"
\
n
"
...
...
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