[CalendarServer-changes] [3275] CalendarServer/trunk/twistedcaldav/scheduling/caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 30 07:30:51 PDT 2008


Revision: 3275
          http://trac.macosforge.org/projects/calendarserver/changeset/3275
Author:   cdaboo at apple.com
Date:     2008-10-30 07:30:50 -0700 (Thu, 30 Oct 2008)
Log Message:
-----------
Fixed error with use of md5.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/scheduling/caldav.py

Modified: CalendarServer/trunk/twistedcaldav/scheduling/caldav.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/caldav.py	2008-10-30 02:34:06 UTC (rev 3274)
+++ CalendarServer/trunk/twistedcaldav/scheduling/caldav.py	2008-10-30 14:30:50 UTC (rev 3275)
@@ -127,7 +127,7 @@
     def generateResponse(self, recipient, responses):
         # Hash the iCalendar data for use as the last path element of the URI path
         calendar_str = str(self.scheduler.calendar)
-        name = md5.new(calendar_str + str(time.time()) + recipient.inbox.fp.path).hexdigest() + ".ics"
+        name = md5(calendar_str + str(time.time()) + recipient.inbox.fp.path).hexdigest() + ".ics"
     
         # Get a resource for the new item
         childURL = joinURL(recipient.inboxURL, name)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081030/3f820d38/attachment.html>


More information about the calendarserver-changes mailing list