[SQL-CVS] r2787 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2007-07-23 13:58:06
|
Author: phd
Date: 2007-07-23 07:58:02 -0600 (Mon, 23 Jul 2007)
New Revision: 2787
Modified:
SQLObject/trunk/sqlobject/events.py
SQLObject/trunk/sqlobject/main.py
Log:
Minor spaces cleanup.
Modified: SQLObject/trunk/sqlobject/events.py
===================================================================
--- SQLObject/trunk/sqlobject/events.py 2007-07-23 13:57:20 UTC (rev 2786)
+++ SQLObject/trunk/sqlobject/events.py 2007-07-23 13:58:02 UTC (rev 2787)
@@ -107,7 +107,7 @@
@@: Should this allow ``instance`` to be a primary key, so that a
row can be deleted without first fetching it?
"""
-
+
class RowUpdateSignal(Signal):
"""
Called when an instance is updated through a call to ``.set()``
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2007-07-23 13:57:20 UTC (rev 2786)
+++ SQLObject/trunk/sqlobject/main.py 2007-07-23 13:58:02 UTC (rev 2787)
@@ -1275,7 +1275,7 @@
cache.created(id, self.__class__, self)
self._init(id)
post_funcs = []
- kw = dict([('class',self.__class__),('id',id)])
+ kw = dict([('class', self.__class__), ('id', id)])
self.sqlmeta.send(events.RowCreatedSignal, kw, post_funcs)
for func in post_funcs:
|