git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
controllers should allow refreshes while findall is running.
[monitor.git]
/
monitor
/
wrapper
/
plc.py
diff --git
a/monitor/wrapper/plc.py
b/monitor/wrapper/plc.py
index
6dc5a28
..
b681d55
100644
(file)
--- a/
monitor/wrapper/plc.py
+++ b/
monitor/wrapper/plc.py
@@
-84,7
+84,6
@@
class PLC:
def __repr__(self):
return self.api.__repr__()
def __repr__(self):
return self.api.__repr__()
-api = PLC(auth.auth, auth.server)
class CachedPLC(PLC):
class CachedPLC(PLC):
@@
-132,6
+131,9
@@
class CachedPLC(PLC):
return run_or_returncached
return run_or_returncached
+api = PLC(auth.auth, auth.server)
+cacheapi = CachedPLC(auth.auth, auth.server)
+
def getAPI(url):
return xmlrpclib.Server(url, verbose=False, allow_none=True)
def getAPI(url):
return xmlrpclib.Server(url, verbose=False, allow_none=True)