[PyGreSQL] Trivial patch for pgdb.py and pg.py

Christoph Zwerschke cito at online.de
Wed Nov 9 17:55:43 EST 2005


Since this is not a runnable script, but a module, the line
 > +# !/usr/bin/python
is actually not needed or even misleading. So I don't understand why any 
quality check would demand that? If we add it, we should probably also 
add something like
if __name__ == '__main__':
     test() or print_version()
at the end. Also, I think
#!/usr/bin/env python
is more universally accepted.

-- Chris


More information about the PyGreSQL mailing list