Coding style improvement to addon script
Debugging output for pf::db