[SQL-CVS] r4393 - in SQLObject/branches/1.0: docs sqlobject/sqlite
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2011-05-29 11:46:34
|
Author: phd Date: Sun May 29 05:46:27 2011 New Revision: 4393 Log: A syntax incompatibilities was fixed in SQLiteConnection that prevented SQLObject to be used with Python 2.4. Modified: SQLObject/branches/1.0/docs/News.txt SQLObject/branches/1.0/sqlobject/sqlite/sqliteconnection.py Modified: SQLObject/branches/1.0/docs/News.txt ============================================================================== --- SQLObject/branches/1.0/docs/News.txt Sun May 29 05:42:56 2011 (r4392) +++ SQLObject/branches/1.0/docs/News.txt Sun May 29 05:46:27 2011 (r4393) @@ -7,8 +7,11 @@ .. _start: -SQLObject (trunk) -================= +SQLObject 1.0.1 +=============== + +* A syntax incompatibilities was fixed in SQLiteConnection that + prevented SQLObject to be used with Python 2.4. SQLObject 1.0.0 =============== Modified: SQLObject/branches/1.0/sqlobject/sqlite/sqliteconnection.py ============================================================================== --- SQLObject/branches/1.0/sqlobject/sqlite/sqliteconnection.py Sun May 29 05:42:56 2011 (r4392) +++ SQLObject/branches/1.0/sqlobject/sqlite/sqliteconnection.py Sun May 29 05:46:27 2011 (r4393) @@ -100,7 +100,7 @@ assert host is None and port is None, ( "SQLite can only be used locally (with a URI like " "sqlite:/file or sqlite:///file, not sqlite://%s%s)" % - (host, ':%r' % port if port else '')) + (host, port and ':%r' % port or '')) assert user is None and password is None, ( "You may not provide usernames or passwords for SQLite " "databases") |