[CalendarServer-changes] [8450] CalendarServer/trunk/calendarserver/tools/shell.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Dec 14 17:27:46 PST 2011


Revision: 8450
          http://trac.macosforge.org/projects/calendarserver/changeset/8450
Author:   wsanchez at apple.com
Date:     2011-12-14 17:27:46 -0800 (Wed, 14 Dec 2011)
Log Message:
-----------
Fix code to add / to folders

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/shell.py

Modified: CalendarServer/trunk/calendarserver/tools/shell.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell.py	2011-12-15 01:21:46 UTC (rev 8449)
+++ CalendarServer/trunk/calendarserver/tools/shell.py	2011-12-15 01:27:46 UTC (rev 8450)
@@ -436,7 +436,7 @@
             for row in rows:
                 klass = row[0]
                 row = list(row[1:])
-                if isinstance(klass, Folder):
+                if issubclass(klass, Folder):
                     row[0] = "%s/" % (row[0],)
                 table.addRow(row)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111214/8c67539e/attachment-0001.html>


More information about the calendarserver-changes mailing list