[CalendarServer-changes] [5128] CalendarServer/branches/users/cdaboo/deployment-partition-4722/ twistedcaldav/directory/principal.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 16 13:08:19 PST 2010


Revision: 5128
          http://trac.macosforge.org/projects/calendarserver/changeset/5128
Author:   cdaboo at apple.com
Date:     2010-02-16 13:08:19 -0800 (Tue, 16 Feb 2010)
Log Message:
-----------
Display the partitioning node id for the principal if configured.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/directory/principal.py

Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/directory/principal.py	2010-02-16 21:07:36 UTC (rev 5127)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/directory/principal.py	2010-02-16 21:08:19 UTC (rev 5128)
@@ -442,6 +442,7 @@
             """---------------------\n"""
             """Directory GUID: %s\n"""         % (self.record.service.guid,),
             """Realm: %s\n"""                  % (self.record.service.realmName,),
+            """Hosted-At: %s\n"""              % (self.record.hostedAt,) if config.Partitioning.Enabled else "", 
             """\n"""
             """Principal Information\n"""
             """---------------------\n"""
@@ -666,6 +667,7 @@
             """---------------------\n"""
             """Directory GUID: %s\n"""         % (self.record.service.guid,),
             """Realm: %s\n"""                  % (self.record.service.realmName,),
+            """Hosted-At: %s\n"""              % (self.record.hostedAt,) if config.Partitioning.Enabled else "", 
             """\n"""
             """Principal Information\n"""
             """---------------------\n"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100216/a299fd95/attachment-0001.html>


More information about the calendarserver-changes mailing list