[CalendarServer-changes] [7529] CalendarServer/trunk/contrib/performance/loadtest/ical.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu May 26 13:05:44 PDT 2011
Revision: 7529
http://trac.macosforge.org/projects/calendarserver/changeset/7529
Author: exarkun at twistedmatrix.com
Date: 2011-05-26 13:05:43 -0700 (Thu, 26 May 2011)
Log Message:
-----------
Sometimes the response status is none, ignore that case
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/loadtest/ical.py
Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py 2011-05-26 16:42:45 UTC (rev 7528)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py 2011-05-26 20:05:43 UTC (rev 7529)
@@ -350,7 +350,7 @@
response = yield self._eventReport(url, responseHref)
body = yield readBody(response)
res = self._parseMultiStatus(body)[responseHref]
- if " 404 " not in res.getStatus():
+ if res.getStatus() is not None and " 404 " not in res.getStatus():
text = res.getTextProperties()
etag = text[davxml.getetag]
try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110526/3a900bfe/attachment.html>
More information about the calendarserver-changes
mailing list