Remove global ressource resGetValue
The module event_system.py
contains the global variable resGetValue
which is accessed by the functions _uriToData
and _getValue
. Having such a global state is very dangerous because the state of the global can be altered from everyone. Hence _uriToData
and _getValue
rely on this state, the result of these function is affected. I'm afraid that this functions are not deterministic.
If these function really rely on a state, they should be encapsulated into a class. Best solution would be to just use return values.