[CalendarServer-changes] [15672] CalendarServer/trunk/calendarserver/tools/principals.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 14 15:39:26 PDT 2016


Revision: 15672
          http://trac.calendarserver.org//changeset/15672
Author:   sagen at apple.com
Date:     2016-06-14 15:39:26 -0700 (Tue, 14 Jun 2016)
Log Message:
-----------
Fix the setting of auto-schedule-mode to default

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

Modified: CalendarServer/trunk/calendarserver/tools/principals.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/principals.py	2016-06-14 20:29:09 UTC (rev 15671)
+++ CalendarServer/trunk/calendarserver/tools/principals.py	2016-06-14 22:39:26 UTC (rev 15672)
@@ -866,7 +866,7 @@
     else:
         print(
             "Setting auto-schedule-mode to {mode} for {record}".format(
-                mode=autoScheduleMode.description,
+                mode=("default" if autoScheduleMode is None else autoScheduleMode.description),
                 record=prettyRecord(record),
             )
         )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160614/5cecc358/attachment.html>


More information about the calendarserver-changes mailing list