[CalendarServer-changes] [890] CalDAVTester/trunk/verifiers/header.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 21 19:45:37 PST 2006


Revision: 890
          http://trac.macosforge.org/projects/calendarserver/changeset/890
Author:   cdaboo at apple.com
Date:     2006-12-21 19:45:37 -0800 (Thu, 21 Dec 2006)

Log Message:
-----------
Make sure we copy the header list as we do munge it later.

Modified Paths:
--------------
    CalDAVTester/trunk/verifiers/header.py

Modified: CalDAVTester/trunk/verifiers/header.py
===================================================================
--- CalDAVTester/trunk/verifiers/header.py	2006-12-22 03:44:22 UTC (rev 889)
+++ CalDAVTester/trunk/verifiers/header.py	2006-12-22 03:45:37 UTC (rev 890)
@@ -26,7 +26,7 @@
     
     def verify(self, manager, uri, response, respdata, args): #@UnusedVariable
         # Split into header/value tuples
-        testheader = args.get("header", [])
+        testheader = args.get("header", [])[:]
         for i in range(len(testheader)):
             p = testheader[i]
             present = True

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


More information about the calendarserver-changes mailing list