[Python-modules-commits] r1789 - in /packages/forgetsql/trunk:
debian/changelog lib/forgetSQL.py
werner at users.alioth.debian.org
werner at users.alioth.debian.org
Thu Feb 1 20:45:35 CET 2007
Author: werner
Date: Thu Feb 1 20:45:35 2007
New Revision: 1789
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1789
Log:
fixing nasty bug and preparing for release
Modified:
packages/forgetsql/trunk/debian/changelog
packages/forgetsql/trunk/lib/forgetSQL.py
Modified: packages/forgetsql/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/forgetsql/trunk/debian/changelog?rev=1789&op=diff
==============================================================================
--- packages/forgetsql/trunk/debian/changelog (original)
+++ packages/forgetsql/trunk/debian/changelog Thu Feb 1 20:45:35 2007
@@ -1,8 +1,15 @@
-forgetsql (0.5.1-9) UNRELEASED; urgency=low
+forgetsql (0.5.1-9) unstable; urgency=medium
+ [ Piotr Ozarowski ]
* Added XS-Vcs-Svn field
+
+ [ Morten Werner Olsen ]
+ * Forgetter instances that were changed were never marked as unchanged
+ when saved, resulting in unnecessary re-saves on subsequent calls to
+ save() or upon garbage collection. Patched forgetSQL.py to fix this.
+ * Setting urgency to medium as I really want this patch to enter etch.
- -- Piotr Ozarowski <ozarow at gmail.com> Thu, 23 Nov 2006 14:44:41 +0100
+ -- Morten Werner Olsen <werner at debian.org> Thu, 1 Feb 2007 20:37:46 +0100
forgetsql (0.5.1-8) unstable; urgency=medium
Modified: packages/forgetsql/trunk/lib/forgetSQL.py
URL: http://svn.debian.org/wsvn/python-modules/packages/forgetsql/trunk/lib/forgetSQL.py?rev=1789&op=diff
==============================================================================
--- packages/forgetsql/trunk/lib/forgetSQL.py (original)
+++ packages/forgetsql/trunk/lib/forgetSQL.py Thu Feb 1 20:45:35 2007
@@ -666,6 +666,8 @@
# cursor.commit()
cursor.close()
self._new = False
+ # Make sure we don't think we're still modified after a save
+ self._changed = None
def getAll(cls, where=None, orderBy=None):
"""Retrieves all the objects, possibly matching
More information about the Python-modules-commits
mailing list