python - lo: Remove redundancy in Error's __str__ method.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - lo: Remove redundancy in Error's __str__ method.
Date: 2007-11-19 01:07:45
Message-ID: 20071119010745.19A4617ADCC6@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove redundancy in Error's __str__ method.

Don't show message and severity as severity is at least, and normally, ERROR,
and message is already shown.
Provide a more concise printing of the location when 'file', 'line', or
'function' is available.

Modified Files:
--------------
lo/postgresql:
exceptions.py (r1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/exceptions.py.diff?r1=1.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2007-11-19 01:22:51 python - lo: Add and expand some doc-strings.
Previous Message User Dim 2007-11-18 23:04:48 pgloader - pgloader: Adding the 'input_encoding' option in the