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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
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
Hide 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
=======
0.4.22 (2013-01-08)
-------------------
* erp5.util.taskdistribution:
- fix regression when used on Python < 2.7
0.4.21 (2013-01-07)
-------------------
...
...
erp5/util/taskdistribution/__init__.py
View file @
8a20f072
...
...
@@ -358,8 +358,10 @@ class ServerProxy(xmlrpclib.ServerProxy):
transport
=
self
.
__transport
def
make_connection
(
*
args
,
**
kw
):
conn
=
transport
.
__class__
.
make_connection
(
transport
,
*
args
,
**
kw
)
assert
hasattr
(
conn
,
'timeout'
),
conn
conn
.
timeout
=
120
# BBB: On Python < 2.7, HTTP connection is wrapped
c
=
getattr
(
conn
,
'_conn'
,
conn
)
assert
hasattr
(
c
,
'timeout'
)
c
.
timeout
=
120
return
conn
transport
.
make_connection
=
make_connection
self
.
__rpc_lock
=
threading
.
Lock
()
...
...
setup.py
View file @
8a20f072
...
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import
glob
import
os
version
=
'0.4.2
1
'
version
=
'0.4.2
2
'
name
=
'erp5.util'
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