logo       

Re: notify.py: msg#00082

python.db.psycopg.devel

Subject: Re: notify.py

Il giorno ven, 17/03/2006 alle 16.24 -0600, Michael Hipp ha scritto:
> In production code, would it be generally advisable to put a try/except block
> around the curs.isready() and curs.connection.notifies() ?

isready() never raise an exception. notifies is a list so you should do
as you do for lists.

federico

--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer
fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx
INIT.D Developer
fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx
Sei una bergogna. Vergonga. Vergogna. -- Valentina

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise