[CalendarServer-changes] [320] CalendarServer/branches/users/wsanchez/acl-2/twistedcaldav/method/ put_common.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 27 12:42:44 PDT 2006


Revision: 320
          http://trac.macosforge.org/projects/calendarserver/changeset/320
Author:   cdaboo at apple.com
Date:     2006-10-27 12:42:44 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
Fix for unittests.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/acl-2/twistedcaldav/method/put_common.py

Modified: CalendarServer/branches/users/wsanchez/acl-2/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/branches/users/wsanchez/acl-2/twistedcaldav/method/put_common.py	2006-10-27 19:22:42 UTC (rev 319)
+++ CalendarServer/branches/users/wsanchez/acl-2/twistedcaldav/method/put_common.py	2006-10-27 19:42:44 UTC (rev 320)
@@ -305,7 +305,7 @@
                     try:
                         calendar = Component.fromString(calendardata)
                     except ValueError, e:
-                        log.err(e)
+                        log.err(str(e))
                         raise HTTPError(ErrorResponse(responsecode.FORBIDDEN, (caldav_namespace, "valid-calendar-data")))
                         
                 # Valid calendar data check

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


More information about the calendarserver-changes mailing list