[CalendarServer-changes] [3294] CalendarServer/trunk/twistedcaldav/test/test_sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 30 19:20:00 PDT 2008
Revision: 3294
http://trac.macosforge.org/projects/calendarserver/changeset/3294
Author: cdaboo at apple.com
Date: 2008-10-30 19:20:00 -0700 (Thu, 30 Oct 2008)
Log Message:
-----------
Proper fix for Py 2.6 issue with unwanted commit. Unit tests pass now.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/test/test_sql.py
Modified: CalendarServer/trunk/twistedcaldav/test/test_sql.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_sql.py 2008-10-31 02:17:12 UTC (rev 3293)
+++ CalendarServer/trunk/twistedcaldav/test/test_sql.py 2008-10-31 02:20:00 UTC (rev 3294)
@@ -73,7 +73,7 @@
def __init__(self, path, persistent=False, autocommit=False):
super(SQL.TestDBRecreateUpgrade, self).__init__(path, persistent, autocommit=autocommit, version="2")
- def _db_recreate(self):
+ def _db_recreate(self, do_commit=True):
raise self.RecreateDBException()
class TestDBCreateIndexOnUpgrade(TestDB):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081030/2406628d/attachment.html>
More information about the calendarserver-changes
mailing list