[CalendarServer-changes] [12873] CalendarServer/trunk/calendarserver/webadmin
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 10 16:37:41 PDT 2014
Revision: 12873
http://trac.calendarserver.org//changeset/12873
Author: wsanchez at apple.com
Date: 2014-03-10 16:37:41 -0700 (Mon, 10 Mar 2014)
Log Message:
-----------
Fix nested key names.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/webadmin/config.py
CalendarServer/trunk/calendarserver/webadmin/config.xhtml
Modified: CalendarServer/trunk/calendarserver/webadmin/config.py
===================================================================
--- CalendarServer/trunk/calendarserver/webadmin/config.py 2014-03-10 23:35:42 UTC (rev 12872)
+++ CalendarServer/trunk/calendarserver/webadmin/config.py 2014-03-10 23:37:41 UTC (rev 12873)
@@ -78,8 +78,8 @@
):
value = self.configuration
- for key in key.split("."):
- value = getattr(value, key)
+ for subkey in key.split("."):
+ value = getattr(value, subkey)
def describe(value):
if value == u"":
Modified: CalendarServer/trunk/calendarserver/webadmin/config.xhtml
===================================================================
--- CalendarServer/trunk/calendarserver/webadmin/config.xhtml 2014-03-10 23:35:42 UTC (rev 12872)
+++ CalendarServer/trunk/calendarserver/webadmin/config.xhtml 2014-03-10 23:37:41 UTC (rev 12873)
@@ -227,7 +227,6 @@
<td class="config_value"><t:slot name="ProcessType" /></td>
<td class="comment" />
</tr>
-<!--
<tr>
<th class="config_key">Min Process Count</th>
<td class="config_value"><t:slot name="MultiProcess.MinProcessCount" /></td>
@@ -238,7 +237,6 @@
<td class="config_value"><t:slot name="MultiProcess.ProcessCount" /></td>
<td class="comment" />
</tr>
- -->
<tr>
<th class="config_key">Max Requests Per Process</th>
<td class="config_value"><t:slot name="MaxRequests" /></td>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140310/3de0db7a/attachment-0001.html>
More information about the calendarserver-changes
mailing list