[CalendarServer-changes] [8563] CalendarServer/trunk/txdav/common/datastore/test/test_sql.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 19 17:40:15 PST 2012


Revision: 8563
          http://trac.macosforge.org/projects/calendarserver/changeset/8563
Author:   wsanchez at apple.com
Date:     2012-01-19 17:40:15 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
Don't assign to an _ignore variable for no reason.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/test/test_sql.py

Modified: CalendarServer/trunk/txdav/common/datastore/test/test_sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/test/test_sql.py	2012-01-19 21:07:44 UTC (rev 8562)
+++ CalendarServer/trunk/txdav/common/datastore/test/test_sql.py	2012-01-20 01:40:15 UTC (rev 8563)
@@ -65,7 +65,7 @@
                 Where=cs.NAME == 'VERSION',
             ).on(subtxn)
             
-        _ignore = (yield txn.subtransaction(_test, retries=0))[0][0]
+        (yield txn.subtransaction(_test, retries=0))[0][0]
         self.assertEqual(ctr[0], 1)
 
 
@@ -89,7 +89,7 @@
                 Where=cs.NAME == 'VERSION',
             ).on(subtxn)
             
-        _ignore = (yield txn.subtransaction(_test, retries=1))[0][0]
+        (yield txn.subtransaction(_test, retries=1))[0][0]
         self.assertEqual(ctr[0], 2)
 
 
@@ -113,7 +113,7 @@
             ).on(subtxn)
         
         try:
-            _ignore = (yield txn.subtransaction(_test, retries=0))[0][0]
+            (yield txn.subtransaction(_test, retries=0))[0][0]
         except AllRetriesFailed:
             pass
         else:
@@ -141,7 +141,7 @@
             ).on(subtxn)
         
         try:
-            _ignore = (yield txn.subtransaction(_test, retries=2))[0][0]
+            (yield txn.subtransaction(_test, retries=2))[0][0]
         except AllRetriesFailed:
             pass
         else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120119/63c98a65/attachment.html>


More information about the calendarserver-changes mailing list