[SQL-CVS] r222 - trunk/SQLObject/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2004-09-23 02:51:14
|
Author: ianb Date: 2004-09-22 18:39:06 -0400 (Wed, 22 Sep 2004) New Revision: 222 Modified: trunk/SQLObject/sqlobject/main.py Log: typo Modified: trunk/SQLObject/sqlobject/main.py =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/SQLObject/sqlobject/main.py 2004-09-22 22:31:47 UTC (rev 221) +++ trunk/SQLObject/sqlobject/main.py 2004-09-22 22:39:06 UTC (rev 222) @@ -966,7 +966,7 @@ =20 def dropTable(cls, ifExists=3DFalse, dropJoinTables=3DTrue, cascade=3D= False, connection=3DNone): - conn =3D connection or conn._connection + conn =3D connection or cls._connection if ifExists and not conn.tableExists(cls._table): return conn.dropTable(cls._table, cascade) |