[CalendarServer-changes] [7513] CalendarServer/branches/release/CalendarServer-2.5-dev/ calendarserver/tools/principals.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 20 11:12:54 PDT 2011
Revision: 7513
http://trac.macosforge.org/projects/calendarserver/changeset/7513
Author: sagen at apple.com
Date: 2011-05-20 11:12:53 -0700 (Fri, 20 May 2011)
Log Message:
-----------
Fix for calendarserver_manage_principals --list-proxies <guid>
Modified Paths:
--------------
CalendarServer/branches/release/CalendarServer-2.5-dev/calendarserver/tools/principals.py
Modified: CalendarServer/branches/release/CalendarServer-2.5-dev/calendarserver/tools/principals.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-2.5-dev/calendarserver/tools/principals.py 2011-05-20 17:56:16 UTC (rev 7512)
+++ CalendarServer/branches/release/CalendarServer-2.5-dev/calendarserver/tools/principals.py 2011-05-20 18:12:53 UTC (rev 7513)
@@ -320,12 +320,12 @@
return directory.principalCollection.principalForShortName(recordType, shortName)
try:
- guid = UUID(principalID)
+ UUID(principalID)
if checkOnly:
return None
- return directory.principalCollection.principalForUID(guid)
+ return directory.principalCollection.principalForUID(principalID)
except ValueError:
pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110520/8acfd603/attachment.html>
More information about the calendarserver-changes
mailing list