git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Timeout curl in the event Apache (PLC side) opens the XMLRPC session, but returns...
[nodemanager.git]
/
plcapi.py
diff --git
a/plcapi.py
b/plcapi.py
index
4da9e48
..
759207e
100644
(file)
--- a/
plcapi.py
+++ b/
plcapi.py
@@
-1,3
+1,5
@@
+# $Id$
+
import safexmlrpc
import hmac, sha
import safexmlrpc
import hmac, sha
@@
-15,7
+17,7
@@
class PLCAPI:
the new session-based method.
"""
the new session-based method.
"""
- def __init__(self, uri, cacert, auth, timeout =
30
0, **kwds):
+ def __init__(self, uri, cacert, auth, timeout =
9
0, **kwds):
if isinstance(auth, (tuple, list)):
(self.node_id, self.key) = auth
self.session = None
if isinstance(auth, (tuple, list)):
(self.node_id, self.key) = auth
self.session = None