X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=blobdiff_plain;f=web%2FMonitorWeb%2Fmonitorweb%2Fmonitor_xmlrpc.py;fp=web%2FMonitorWeb%2Fmonitorweb%2Fmonitor_xmlrpc.py;h=026a9aec5f541f39122d29aac447def46881b7d7;hp=2f4687921bae283574cb0d5e7a5bb0d224b5c5a6;hb=7f77ca9055907742d3f2ddb7f956174ee9adbd7d;hpb=8462561d6aad39867554ec7b1f7cb186c74ef95d diff --git a/web/MonitorWeb/monitorweb/monitor_xmlrpc.py b/web/MonitorWeb/monitorweb/monitor_xmlrpc.py index 2f46879..026a9ae 100644 --- 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") - session.clear() + session.expunge_all() # Call the method, convert it into a 1-element tuple # as expected by dumps response = method(*params)