-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Wed, 9 Nov 2005, Christoph Zwerschke wrote:
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?
The script needs an interpreter, that's all.
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.
No problem for me. I just need an interpreter over the script. I didn't
want to do that with a patch in PostgreSQL RPMs, that's why I posted it to
you.
Regards,
--
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDcoJu4zE8DGqpiZARAqxLAJ42F2iyrHekWs7rx+Vr1drK/IKSCACfQ67b
c69m0MK6uLfCGqCnNkQR8LA=
=xgU6
-----END PGP SIGNATURE-----_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql