[Trac-tickets] [The Trac Project] #2167: trac-0.9b2's psycopg
connection doesn't take port into account
The Trac Project
noreply at edgewall.com
Mon Oct 3 18:39:00 CDT 2005
#2167: trac-0.9b2's psycopg connection doesn't take port into account
-------------------------------+--------------------------------------------
Reporter: allanvv at gmail.com | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9b2
Severity: normal | Keywords: |
-------------------------------+--------------------------------------------
The code forgets to append port= to the dsn string passed to psycopg.
Adding:
if port:
dsn.append("port = %d" % (port, ))
to line 359 fixes it.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2167>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list