Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2005-03-01 18:04:32 +0000 (Tue, 01 Mar 2005)
New Revision: 660
Fixed a bug in MySQLconnection - default port is indicated by 0, not ''.
--- trunk/SQLObject/sqlobject/mysql/mysqlconnection.py 2005-03-01 14:52:06 UTC (rev 659)
+++ trunk/SQLObject/sqlobject/mysql/mysqlconnection.py 2005-03-01 18:04:32 UTC (rev 660)
@@ -23,7 +23,7 @@
def connectionFromURI(cls, uri):
user, password, host, port, path, args = cls._parseURI(uri)
return cls(db=path.strip('/'), user=user or '', passwd=password or '',
- host=host or 'localhost', port=port or '', **args)
+ host=host or 'localhost', port=port or 0, **args)
connectionFromURI = classmethod(connectionFromURI)
Sign up for the SourceForge newsletter: