ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
11 stars 5 forks source link

Fix profiler page navigation #941

Closed jw3 closed 9 months ago

jw3 commented 9 months ago

Explicitly declare the _unsaved_changes event on the profiler page to satisfy events.py introspection

Closes #940

jw3 commented 9 months ago

The fix addresses the check

        if hasattr(self, '__events__'):
            if name not in self.__events__:
                raise EventsException("Event '%s' is not declared" % name)
jw3 commented 9 months ago

ref #921