python - fe: Use Transaction.fatal for fatality detection. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - fe: Use Transaction.fatal for fatality detection.
Date
Msg-id 20060313063309.B1B52103383A@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Use Transaction.fatal for fatality detection.

Additionally, correct testPortalPersistence and use a ValueError subclass for
the isolated error test to avoid absolutely any possibility of mistakenly
passing the assertion.

Modified Files:
--------------
    fe/src:
        tracenull.py (r1.15 -> r1.16)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/fe/src/tracenull.py.diff?r1=1.15&r2=1.16)
    fe/test:
        tracenull.py (r1.7 -> r1.8)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/fe/test/tracenull.py.diff?r1=1.7&r2=1.8)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - pq: Replace asserts and keep determined fatality.
Next
From: gsmet@pgfoundry.org (User Gsmet)
Date:
Subject: pgfouine - pgfouine: fixed syslog date detection (problem with php 4.3.2