[CalendarServer-changes] [630] CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/ directory/principal.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Dec 1 00:19:42 PST 2006


Revision: 630
          http://trac.macosforge.org/projects/calendarserver/changeset/630
Author:   wsanchez at apple.com
Date:     2006-12-01 00:19:42 -0800 (Fri, 01 Dec 2006)

Log Message:
-----------
Case checking code isn't needed here.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py	2006-12-01 08:19:08 UTC (rev 629)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py	2006-12-01 08:19:42 UTC (rev 630)
@@ -103,13 +103,13 @@
     def getChild(self, name):
         self.provision()
 
-        children = self.putChildren
-        if name not in children and name.lower() in (x.lower() for x in children):
-            # This avoids finding case variants of put children on case-insensitive filesystems.
-            return None
-        else:
-            return children.get(name, None)
+        ## This avoids finding case variants of put children on case-insensitive filesystems.
+        #children = self.putChildren
+        #if name not in children and name.lower() in (x.lower() for x in children):
+        #    return None
 
+        return self.putChildren.get(name, None)
+
     def listChildren(self):
         return self.putChildren.keys()
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061201/e3f62132/attachment.html


More information about the calendarserver-changes mailing list