[CalendarServer-changes] [9034] CalendarServer/trunk/calendarserver/tools/shell

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 11 15:41:20 PDT 2012


Revision: 9034
          http://trac.macosforge.org/projects/calendarserver/changeset/9034
Author:   wsanchez at apple.com
Date:     2012-04-11 15:41:20 -0700 (Wed, 11 Apr 2012)
Log Message:
-----------
Add __all__

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

Modified: CalendarServer/trunk/calendarserver/tools/shell/cmd.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/cmd.py	2012-04-11 22:23:20 UTC (rev 9033)
+++ CalendarServer/trunk/calendarserver/tools/shell/cmd.py	2012-04-11 22:41:20 UTC (rev 9034)
@@ -18,6 +18,13 @@
 Data store commands.
 """
 
+__all__ = [
+    "UsageError",
+    "UnknownArguments",
+    "CommandsBase",
+    "Commands",
+]
+
 import operator
 
 #from twisted.python import log

Modified: CalendarServer/trunk/calendarserver/tools/shell/terminal.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/terminal.py	2012-04-11 22:23:20 UTC (rev 9033)
+++ CalendarServer/trunk/calendarserver/tools/shell/terminal.py	2012-04-11 22:41:20 UTC (rev 9034)
@@ -18,6 +18,15 @@
 Interactive shell for terminals.
 """
 
+__all__ = [
+    "usage",
+    "ShellOptions",
+    "ShellService",
+    "ShellProtocol",
+    "main",
+]
+
+
 import string
 import os
 import sys

Modified: CalendarServer/trunk/calendarserver/tools/shell/vfs.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/shell/vfs.py	2012-04-11 22:23:20 UTC (rev 9033)
+++ CalendarServer/trunk/calendarserver/tools/shell/vfs.py	2012-04-11 22:41:20 UTC (rev 9034)
@@ -18,6 +18,24 @@
 Virtual file system for data store objects.
 """
 
+__all__ = [
+    "File",
+    "Folder",
+    "RootFolder",
+    "UIDsFolder",
+    "RecordFolder",
+    "UsersFolder",
+    "LocationsFolder",
+    "ResourcesFolder",
+    "GroupsFolder",
+    "PrincipalHomeFolder",
+    "CalendarHomeFolder",
+    "CalendarFolder",
+    "CalendarObject",
+    "AddressBookHomeFolder",
+]
+
+
 from cStringIO import StringIO
 from time import strftime, localtime
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120411/f1377a81/attachment.html>


More information about the calendarserver-changes mailing list