[CalendarServer-changes] [15756] CalendarServer/trunk/calendarserver/tools/util.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 7 14:51:51 PDT 2016


Revision: 15756
          http://trac.calendarserver.org//changeset/15756
Author:   sagen at apple.com
Date:     2016-07-07 14:51:51 -0700 (Thu, 07 Jul 2016)
Log Message:
-----------
Record uid not required to be a UUID

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/util.py

Modified: CalendarServer/trunk/calendarserver/tools/util.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/util.py	2016-07-07 20:38:32 UTC (rev 15755)
+++ CalendarServer/trunk/calendarserver/tools/util.py	2016-07-07 21:51:51 UTC (rev 15756)
@@ -30,7 +30,6 @@
 import socket
 from pwd import getpwnam
 from grp import getgrnam
-from uuid import UUID
 
 from calendarserver.tools import diagnose
 
@@ -271,8 +270,6 @@
         returnValue((yield directory.principalCollection.principalForShortName(recordType, shortName)))
 
     try:
-        UUID(principalID)
-
         if checkOnly:
             returnValue(None)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160707/d4e91000/attachment.html>


More information about the calendarserver-changes mailing list