bugzilla2trac.py: make it compatible with Bugzilla 3.04 and PostgreSQL.
Patch contributed by Jeff Moreland on #5585.
Authored by: cboos 2010-02-09
Parent: [r9167]
Child: [r9169]