[CalendarServer-changes] [9165] CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav /directory/opendirectorybacker.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 20 13:47:08 PDT 2012
Revision: 9165
http://trac.macosforge.org/projects/calendarserver/changeset/9165
Author: gaya at apple.com
Date: 2012-04-20 13:47:07 -0700 (Fri, 20 Apr 2012)
Log Message:
-----------
fix missing dictionary get()
Modified Paths:
--------------
CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py
Modified: CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py
===================================================================
--- CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py 2012-04-20 20:08:48 UTC (rev 9164)
+++ CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py 2012-04-20 20:47:07 UTC (rev 9165)
@@ -478,7 +478,7 @@
else:
queryAttributes = []
for prop in propertyNames:
- attributes = ABDirectoryQueryResult.vcardPropToDSAttrMap(prop)
+ attributes = ABDirectoryQueryResult.vcardPropToDSAttrMap.get(prop)
if attributes:
queryAttributes += attributes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120420/2a89bb4f/attachment-0001.html>
More information about the calendarserver-changes
mailing list