[CalendarServer-changes] [8049] CalendarServer/trunk/twistedcaldav/scheduling/imip.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 6 10:41:32 PDT 2011
Revision: 8049
http://trac.macosforge.org/projects/calendarserver/changeset/8049
Author: sagen at apple.com
Date: 2011-09-06 10:41:32 -0700 (Tue, 06 Sep 2011)
Log Message:
-----------
Do a case-insensitive comparison but don't actually change the value
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/scheduling/imip.py
Modified: CalendarServer/trunk/twistedcaldav/scheduling/imip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/imip.py 2011-09-06 16:45:25 UTC (rev 8048)
+++ CalendarServer/trunk/twistedcaldav/scheduling/imip.py 2011-09-06 17:41:32 UTC (rev 8049)
@@ -82,8 +82,8 @@
for recipient in self.recipients:
try:
- toAddr = str(recipient.cuaddr).lower()
- if not toAddr.startswith("mailto:"):
+ toAddr = str(recipient.cuaddr)
+ if not toAddr.lower().startswith("mailto:"):
raise ValueError("ATTENDEE address '%s' must be mailto: for iMIP operation." % (toAddr,))
fromAddr = str(self.scheduler.originator.cuaddr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110906/48a3c075/attachment.html>
More information about the calendarserver-changes
mailing list