[CalendarServer-changes] [3719] CalDAVClientLibrary/trunk/src/client/principal.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 23 20:08:50 PST 2009
Revision: 3719
http://trac.macosforge.org/projects/calendarserver/changeset/3719
Author: cdaboo at apple.com
Date: 2009-02-23 20:08:45 -0800 (Mon, 23 Feb 2009)
Log Message:
-----------
Fix problem with changing proxies.
Modified Paths:
--------------
CalDAVClientLibrary/trunk/src/client/principal.py
Modified: CalDAVClientLibrary/trunk/src/client/principal.py
===================================================================
--- CalDAVClientLibrary/trunk/src/client/principal.py 2009-02-24 01:14:33 UTC (rev 3718)
+++ CalDAVClientLibrary/trunk/src/client/principal.py 2009-02-24 04:08:45 UTC (rev 3719)
@@ -1,5 +1,5 @@
##
-# Copyright (c) 2006-2007 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2009 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -32,9 +32,9 @@
principal = CalDAVPrincipal(session, path)
principal.loadDetails()
self.cache[path.toString()] = principal
- self.cache[principal.principalURL.toString()] = principal
+ self.cache[principal.principalURL] = principal
for uri in principal.alternateURIs:
- self.cache[uri.toString()] = principal
+ self.cache[uri] = principal
elif refresh:
self.cache[path.toString()].loadDetails(refresh=True)
return self.cache[path.toString()]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090223/eb45c7ce/attachment.html>
More information about the calendarserver-changes
mailing list