[CalendarServer-changes] [1221] CalendarServer/trunk/twistedcaldav/directory/aggregate.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 20 18:25:12 PST 2007


Revision: 1221
          http://trac.macosforge.org/projects/calendarserver/changeset/1221
Author:   wsanchez at apple.com
Date:     2007-02-20 18:25:11 -0800 (Tue, 20 Feb 2007)

Log Message:
-----------
add repr

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/aggregate.py

Modified: CalendarServer/trunk/twistedcaldav/directory/aggregate.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/aggregate.py	2007-02-20 23:46:02 UTC (rev 1220)
+++ CalendarServer/trunk/twistedcaldav/directory/aggregate.py	2007-02-21 02:25:11 UTC (rev 1221)
@@ -69,6 +69,9 @@
         self.realmName = realmName
         self._recordTypes = recordTypes
 
+    def __repr__(self):
+        return "<%s (%s): %r>" % (self.__class__.__name__, self.realmName, self._recordTypes)
+
     #
     # Define calendarHomesCollection as a property so we can set it on contained services
     # See CalendarHomeProvisioningFile.__init__()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070220/52d4b8a5/attachment.html


More information about the calendarserver-changes mailing list