[CalendarServer-changes] [2126] CalendarServer/branches/users/cdaboo/server2server-2113/ twistedcaldav/schedule_common.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 4 17:38:32 PST 2008


Revision: 2126
          http://trac.macosforge.org/projects/calendarserver/changeset/2126
Author:   cdaboo at apple.com
Date:     2008-02-04 17:38:27 -0800 (Mon, 04 Feb 2008)

Log Message:
-----------
Fix logic error.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/schedule_common.py

Modified: CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/schedule_common.py
===================================================================
--- CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/schedule_common.py	2008-02-05 00:55:13 UTC (rev 2125)
+++ CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/schedule_common.py	2008-02-05 01:38:27 UTC (rev 2126)
@@ -757,7 +757,7 @@
             
             # First compare as dotted IP
             compare_with = (server.host,) + tuple(server.client_hosts)
-            if clientip in compare_with:
+            if clientip not in compare_with:
                 # Now do hostname lookup
                 host, aliases, _ignore_ips = socket.gethostbyaddr(clientip)
                 for host in itertools.chain((host,), aliases):

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080204/1e460a19/attachment-0001.html


More information about the calendarserver-changes mailing list