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

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 12 18:06:25 PDT 2012


Revision: 9048
          http://trac.macosforge.org/projects/calendarserver/changeset/9048
Author:   wsanchez at apple.com
Date:     2012-04-12 18:06:25 -0700 (Thu, 12 Apr 2012)
Log Message:
-----------
cleanup

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

Modified: CalendarServer/trunk/calendarserver/tools/shell/terminal.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/terminal.py	2012-04-13 00:02:21 UTC (rev 9047)
+++ CalendarServer/trunk/calendarserver/tools/shell/terminal.py	2012-04-13 01:06:25 UTC (rev 9048)
@@ -51,7 +51,6 @@
 from calendarserver.tools.cmdline import utilityMain
 from calendarserver.tools.util import getDirectory
 from calendarserver.tools.shell.cmd import Commands, UsageError as CommandUsageError
-from calendarserver.tools.shell.vfs import Folder
 
 
 def usage(e=None):
@@ -261,16 +260,7 @@
         self.terminal.loseConnection()
         self.service.reactor.stop()
 
-    @staticmethod
-    def _listEntryToString(entry):
-        klass = entry[0]
-        name  = entry[1]
 
-        if issubclass(klass, Folder):
-            return "%s/" % (name,)
-        else:
-            return name
-
     #
     # Command dispatch
     #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120412/17b142fb/attachment-0001.html>


More information about the calendarserver-changes mailing list