pep8 fixes to the pkgdb2.lib module