hgweb: fix errors and warnings found by pychecker
- fix missing import
- use type_ instead of type
- remove unused variable
to build a new macosx binary package:install macpython from http://undefined.org/python/install py2app from http://pythonmac.org/packages/make sure /usr/local/bin is in your pathrun bdist_mpkg in top-level hg directoryfind packaged stuff in dist directory