Bugs item #2923940, was opened at 2009-12-31 03:56
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=2923940&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Postgres
Group: SQLObject release (specify)
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: dkeeney (dvkeeney)
>Assigned to: Oleg Broytman (phd)
Summary: backend param not handled correctly
Initial Comment:
When a 'backend' parameter is passed to the PostgresConnection __init__, it is ignored.
from postgres/pgconnection.py :
This first line in __init__,
backends = kw.pop('backend', None) or 'psycopg'
should be like:
backends = backend or 'psycopg'
or just:
backends = backend
since the backend param has a default value of 'psycopg'.
----------------------------------------------------------------------
>Comment By: Oleg Broytman (phd)
Date: 2009-12-31 04:19
Message:
You are right.
backends = backend
is enough. Fixed in the revision 4062, will be in the next round of
releases. Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=2923940&group_id=74338
|