Author: ianb
Date: 2005-11-08 04:52:02 +0000 (Tue, 08 Nov 2005)
New Revision: 1230
Modified:
SQLObject/trunk/sqlobject/joins.py
Log:
Fixed typo
Modified: SQLObject/trunk/sqlobject/joins.py
===================================================================
--- SQLObject/trunk/sqlobject/joins.py 2005-11-08 01:17:13 UTC (rev 1229)
+++ SQLObject/trunk/sqlobject/joins.py 2005-11-08 04:52:02 UTC (rev 1230)
@@ -370,7 +370,7 @@
def __getattr__(self, attr):
# @@: This passes through private variable access too... should it?
# Also magic methods, like __str__
- return getattr(self, select, attr)
+ return getattr(self.select, attr)
def __repr__(self):
return '<%s for: %s>' % (self.__class__.__name__, repr(self.select))
|