[CalendarServer-changes] [2717] CalendarServer/trunk/twistedcaldav/static.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 17 15:30:09 PDT 2008


Revision: 2717
          http://trac.macosforge.org/projects/calendarserver/changeset/2717
Author:   wsanchez at apple.com
Date:     2008-07-17 15:30:09 -0700 (Thu, 17 Jul 2008)
Log Message:
-----------
be a little more informative

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/static.py

Modified: CalendarServer/trunk/twistedcaldav/static.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/static.py	2008-07-17 20:58:26 UTC (rev 2716)
+++ CalendarServer/trunk/twistedcaldav/static.py	2008-07-17 22:30:09 UTC (rev 2717)
@@ -529,7 +529,7 @@
             log.msg("Directory record %r is not enabled for calendaring" % (record,))
             return None
 
-        assert len(name) > 4
+        assert len(name) > 4, "Directory record has an invalid GUID: %r" % (name,)
         
         childPath = self.fp.child(name[0:2]).child(name[2:4]).child(name)
         child = self.homeResourceClass(childPath.path, self, record)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080717/f454f9fc/attachment.html 


More information about the calendarserver-changes mailing list