[SQL-CVS] r1647 - SQLObject/trunk/sqlobject/manager
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <sub...@co...> - 2006-03-10 18:42:12
|
Author: ianb
Date: 2006-03-10 11:42:09 -0700 (Fri, 10 Mar 2006)
New Revision: 1647
Modified:
SQLObject/trunk/sqlobject/manager/command.py
Log:
Bug from last commit (really all_diffs should be generated from the last recorded version, not from the database, but for now just punting on that)
Modified: SQLObject/trunk/sqlobject/manager/command.py
===================================================================
--- SQLObject/trunk/sqlobject/manager/command.py 2006-03-10 18:35:49 UTC (rev 1646)
+++ SQLObject/trunk/sqlobject/manager/command.py 2006-03-10 18:42:09 UTC (rev 1647)
@@ -938,6 +938,8 @@
print '\n'.join(all_diffs)
for conn in conns:
self.update_db(version, conn)
+ else:
+ all_diffs = []
if self.options.open_editor:
if not last_version_dir:
print ("Cannot edit upgrader because there is no "
|