Both sar_demo and clear_sar_demo macros are not handling exceptions.
If an exception is raised while defining/undefining elements the _SAR_DEMO variable is not properly updated. In this way _SAR_DEMO variable is not reflecting the state of the system with the updates done before the exception got rised.
This was reported by Frederic Picca.
Both sar_demo and clear_sar_demo macros are not handling exceptions. If an exception is raised while defining/undefining elements the _SAR_DEMO variable is not properly updated. In this way _SAR_DEMO variable is not reflecting the state of the system with the updates done before the exception got rised.
Reported by: reszelaz ( http://sf.net/u/zreszela )
Original Ticket: sardana/tickets/128