#189 wrong parameter 'connect_time' of MySQLConnection

closed-fixed
None
5
2006-08-22
2006-07-17
No

Due to a documentation bug of the MySQLdb project,
sqlobject as inherited the following bug:

The keyword parameter 'connect_timeout' of the
constructor of the class MySQLConnection is wrongly
documented as 'connect_time' in the docstring of
MySQLdb.connections.MySQLConnection.
The docstring of the C-Extension correctly documents it
as 'connect_timeout' though.

As a result the parameter is not correctly extracted
from the keyword arguments dict and passed to MySQLdb.

Fix: rename the parameter 'connect_time' to
'connect_timeout' in mysqlconnection.py (line 30)

Discussion

  • Oleg Broytman

    Oleg Broytman - 2006-08-22
    • assigned_to: nobody --> phd
    • status: open --> closed-fixed
     
  • Oleg Broytman

    Oleg Broytman - 2006-08-22

    Logged In: YES
    user_id=4799

    Fixed in the revision 1878 in the trunk, 1879 in the
    0.7-branch. Thank you!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks