[CalendarServer-changes] [4581] CalendarServer/branches/users/sagen/deployment-inherit-fds-4571/ memcacheclient.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Oct 13 16:21:04 PDT 2009
Revision: 4581
http://trac.macosforge.org/projects/calendarserver/changeset/4581
Author: sagen at apple.com
Date: 2009-10-13 16:21:02 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
Short circuit check_key instead
Modified Paths:
--------------
CalendarServer/branches/users/sagen/deployment-inherit-fds-4571/memcacheclient.py
Modified: CalendarServer/branches/users/sagen/deployment-inherit-fds-4571/memcacheclient.py
===================================================================
--- CalendarServer/branches/users/sagen/deployment-inherit-fds-4571/memcacheclient.py 2009-10-13 03:05:09 UTC (rev 4580)
+++ CalendarServer/branches/users/sagen/deployment-inherit-fds-4571/memcacheclient.py 2009-10-13 23:21:02 UTC (rev 4581)
@@ -550,6 +550,8 @@
"""
+
+ """
# Short-circuit:
key_list = list(key_iterable)
server, ignored = self._get_server(key_list[0])
@@ -560,6 +562,7 @@
for key in key_list:
prefixed_to_orig_key[key] = key
return (server_keys, prefixed_to_orig_key)
+ """
@@ -1287,6 +1290,9 @@
Is not a string (Raises MemcachedKeyError)
Is None (Raises MemcachedKeyError)
"""
+
+ return # Short circuit
+
if type(key) == types.TupleType: key = key[1]
if not key:
raise Client.MemcachedKeyNoneError, ("Key is None")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091013/250c7fd9/attachment.html>
More information about the calendarserver-changes
mailing list