[CalendarServer-changes] [6895] CalendarServer/branches/users/glyph/linux-tests/twistedcaldav/ directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 7 04:38:45 PST 2011
Revision: 6895
http://trac.macosforge.org/projects/calendarserver/changeset/6895
Author: glyph at apple.com
Date: 2011-02-07 04:38:45 -0800 (Mon, 07 Feb 2011)
Log Message:
-----------
make it easier to see where exceptions are coming from, add a test-case-name.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/linux-tests/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/branches/users/glyph/linux-tests/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/glyph/linux-tests/twistedcaldav/directory/appleopendirectory.py 2011-02-07 12:38:18 UTC (rev 6894)
+++ CalendarServer/branches/users/glyph/linux-tests/twistedcaldav/directory/appleopendirectory.py 2011-02-07 12:38:45 UTC (rev 6895)
@@ -1,3 +1,4 @@
+# -*- test-case-name: twistedcaldav.directory.test.test_opendirectory -*-
##
# Copyright (c) 2006-2010 Apple Inc. All rights reserved.
#
@@ -627,8 +628,7 @@
listRecordTypes,
attrs,
))
- results.extend(
- lookupMethod(
+ lookedUp = lookupMethod(
self.directory,
queryattr,
indexKey,
@@ -637,7 +637,7 @@
listRecordTypes,
attrs,
)
- )
+ results.extend(lookedUp)
except self.odModule.ODError, ex:
if ex.message[1] == -14987:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110207/b11a3313/attachment-0001.html>
More information about the calendarserver-changes
mailing list