[CalendarServer-changes] [206] CalendarServer/trunk/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 26 14:25:29 PDT 2006


Revision: 206
          http://trac.macosforge.org/projects/collaboration/changeset/206
Author:   wsanchez at apple.com
Date:     2006-09-26 14:25:29 -0700 (Tue, 26 Sep 2006)

Log Message:
-----------
Failure().raiseException() -> raise

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/db.py
    CalendarServer/trunk/twistedcaldav/index.py

Modified: CalendarServer/trunk/twistedcaldav/db.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/db.py	2006-09-26 21:23:50 UTC (rev 205)
+++ CalendarServer/trunk/twistedcaldav/db.py	2006-09-26 21:25:29 UTC (rev 206)
@@ -225,7 +225,7 @@
                 q.execute(sql, query_params)
             except:
                 log.err("Exception while executing SQL: %r %r" % (sql, query_params))
-                Failure().raiseException()
+                raise
             return q.fetchall()
         finally:
             q.close()

Modified: CalendarServer/trunk/twistedcaldav/index.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/index.py	2006-09-26 21:23:50 UTC (rev 205)
+++ CalendarServer/trunk/twistedcaldav/index.py	2006-09-26 21:25:29 UTC (rev 206)
@@ -428,7 +428,7 @@
                 q.execute(sql, query_params)
             except:
                 log.err("Exception while executing SQL: %r %r" % (sql, query_params))
-                Failure().raiseException()
+                raise
             return q.fetchall()
         finally:
             q.close()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060926/51ebf107/attachment.html


More information about the calendarserver-changes mailing list