[CalendarServer-changes] [3665] CalendarServer/trunk/twistedcaldav/httpfactory.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 12 15:15:54 PST 2009


Revision: 3665
          http://trac.macosforge.org/projects/calendarserver/changeset/3665
Author:   wsanchez at apple.com
Date:     2009-02-12 15:15:54 -0800 (Thu, 12 Feb 2009)
Log Message:
-----------
Actually, use %s, because config.RetryAfter could be a string.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/httpfactory.py

Modified: CalendarServer/trunk/twistedcaldav/httpfactory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/httpfactory.py	2009-02-12 23:14:37 UTC (rev 3664)
+++ CalendarServer/trunk/twistedcaldav/httpfactory.py	2009-02-12 23:15:54 UTC (rev 3665)
@@ -34,7 +34,7 @@
         self.transport.write(
             "HTTP/1.0 503 Service Unavailable\r\n"
             "Content-Type: text/html\r\n"
-            "Retry-After: %(retry)d\r\n"
+            "Retry-After: %(retry)s\r\n"
             "Connection: close\r\n\r\n"
             "<html><head><title>503 Service Unavailable</title></head>"
             "<body><h1>Service Unavailable</h1>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090212/daaaca90/attachment.html>


More information about the calendarserver-changes mailing list