[SQL-CVS] r967 - SQLObject/trunk/sqlobject/inheritance
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2005-08-30 15:55:18
|
Author: phd
Date: 2005-08-30 15:55:11 +0000 (Tue, 30 Aug 2005)
New Revision: 967
Modified:
SQLObject/trunk/sqlobject/inheritance/__init__.py
Log:
Fixed a minor bug (I havn't fully synchronized with sqlmeta).
Modified: SQLObject/trunk/sqlobject/inheritance/__init__.py
===================================================================
--- SQLObject/trunk/sqlobject/inheritance/__init__.py 2005-08-30 09:11:57 UTC (rev 966)
+++ SQLObject/trunk/sqlobject/inheritance/__init__.py 2005-08-30 15:55:11 UTC (rev 967)
@@ -113,8 +113,7 @@
#DSM: Only do this once if possible at object creation and once for
#DSM: each new dynamic join to refresh the current class
if childUpdate or soClass._parentClass:
- for jdef in soClass._parentClass.sqlmeta.joins:
- join = jdef.withClass(soClass)
+ for join in soClass._parentClass.sqlmeta.joins:
jname = join.joinMethodName
jarn = join.addRemoveName
setattr(soClass, getterName(jname),
|