pysipp icon indicating copy to clipboard operation
pysipp copied to clipboard

Warn about non-hook objects in pysipp_conf.py files

Open goodboy opened this issue 10 years ago • 0 comments

There should be a validation step which warns about any python object (function or other) inside a pysipp_conf.py file which isn't found registered with the plugin manager. The plugin.mng.is_registered() meth can be used for this purpose. This should help with catching misnamed hook functions.

PS I don't think we want to actually prevent the user from defining their own custom objects hence my suggestion for a simple warning.

goodboy avatar Jan 13 '16 22:01 goodboy