[SQL-CVS] SQLObject/SQLObject SQLObject.py,1.18,1.19
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-04-11 16:30:44
|
Update of /cvsroot/sqlobject/SQLObject/SQLObject In directory sc8-pr-cvs1:/tmp/cvs-serv30290 Modified Files: SQLObject.py Log Message: pychecker typos Index: SQLObject.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/SQLObject/SQLObject.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** SQLObject.py 8 Apr 2003 17:25:04 -0000 1.18 --- SQLObject.py 11 Apr 2003 16:30:39 -0000 1.19 *************** *** 22,26 **** import threading - import re import SQLBuilder import DBConnection --- 22,25 ---- *************** *** 121,125 **** # since it's abstract we'll ignore it. if className != 'SQLObject': - import sys mod = sys.modules[dict['__module__']] # See if there's a __connection__ global in --- 120,123 ---- *************** *** 431,435 **** cls._columns.remove(column) if isinstance(column, str): ! column = self._SO_columnDict[column] name = column.name del cls._SO_columnDict[name] --- 429,433 ---- cls._columns.remove(column) if isinstance(column, str): ! column = cls._SO_columnDict[column] name = column.name del cls._SO_columnDict[name] *************** *** 520,524 **** meth = join.joinMethodName cls._joins.remove(join) - appendMeth = meth[0].upper() + meth[1:] for i in range(len(cls._SO_joinList)): if cls._SO_joinList[i] is join: --- 518,521 ---- *************** *** 627,632 **** self._SO_writeLock.acquire() - # Python names of the columns: - hereNames = [col.name for col in self._columns] # Database (_-using) names: dbNames = [col.dbName for col in self._columns] --- 624,627 ---- *************** *** 1014,1018 **** def lazyColumns(self, value): ! return self.clone(lazyColumns=lazyColumns) def __getitem__(self, value): --- 1009,1013 ---- def lazyColumns(self, value): ! return self.clone(lazyColumns=value) def __getitem__(self, value): |