[CalendarServer-changes] [8068] CalendarServer/branches/users/glyph/other-html/twext/web2/static.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 13 12:09:14 PDT 2011
Revision: 8068
http://trac.macosforge.org/projects/calendarserver/changeset/8068
Author: glyph at apple.com
Date: 2011-09-13 12:09:14 -0700 (Tue, 13 Sep 2011)
Log Message:
-----------
enough of a stub to pacify inheriting DAV tests.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/other-html/twext/web2/static.py
Modified: CalendarServer/branches/users/glyph/other-html/twext/web2/static.py
===================================================================
--- CalendarServer/branches/users/glyph/other-html/twext/web2/static.py 2011-09-13 19:09:07 UTC (rev 8067)
+++ CalendarServer/branches/users/glyph/other-html/twext/web2/static.py 2011-09-13 19:09:14 UTC (rev 8068)
@@ -418,8 +418,10 @@
standin = self.createSimilarFile(ifp.path)
else:
# Directory listing is in twistedcaldav.extensions
- standin = Data("Directory: %s" % (req.path,),
- "text/plain")
+ standin = Data(
+ "\n".join(["Directory: " + str(req.path), "---"] +
+ [x.basename() for x in self.fp.children()]),
+ "text/plain")
return standin.render(req)
try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110913/dd2f9d6e/attachment.html>
More information about the calendarserver-changes
mailing list