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
fix for new versions of SQLAlchemy.
[monitor.git]
/
web
/
MonitorWeb
/
monitorweb
/
monitor_xmlrpc.py
diff --git
a/web/MonitorWeb/monitorweb/monitor_xmlrpc.py
b/web/MonitorWeb/monitorweb/monitor_xmlrpc.py
index
2f46879
..
026a9ae
100644
(file)
--- a/
web/MonitorWeb/monitorweb/monitor_xmlrpc.py
+++ b/
web/MonitorWeb/monitorweb/monitor_xmlrpc.py
@@
-98,7
+98,7
@@
class MonitorXmlrpcServer(object):
if method is None or not getattr(method, "exposed", False):
raise AssertionError("method does not exist")
if method is None or not getattr(method, "exposed", False):
raise AssertionError("method does not exist")
- session.
clear
()
+ session.
expunge_all
()
# Call the method, convert it into a 1-element tuple
# as expected by dumps
response = method(*params)
# Call the method, convert it into a 1-element tuple
# as expected by dumps
response = method(*params)