[CalendarServer-changes] [2692] CalendarServer/trunk/twistedcaldav/config.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 11 11:50:00 PDT 2008


Revision: 2692
          http://trac.macosforge.org/projects/calendarserver/changeset/2692
Author:   wsanchez at apple.com
Date:     2008-07-11 11:50:00 -0700 (Fri, 11 Jul 2008)
Log Message:
-----------
Empty TestJID is OK.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/config.py

Modified: CalendarServer/trunk/twistedcaldav/config.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/config.py	2008-07-11 18:46:57 UTC (rev 2691)
+++ CalendarServer/trunk/twistedcaldav/config.py	2008-07-11 18:50:00 UTC (rev 2692)
@@ -198,6 +198,7 @@
                 "Password" : "",
                 "ServiceAddress" : "", # "pubsub.xmpp.host.name"
                 "KeepAliveSeconds" : 120,
+                "TestJID": "",
             },
         ]
     },
@@ -488,7 +489,7 @@
                 service["Enabled"]
             ):
                 for key, value in service.iteritems():
-                    if not value:
+                    if not value and key not in ("TestJID"):
                         raise ConfigurationError("Invalid %s for XMPPNotifierService: %r"
                                                  % (key, value))
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080711/954d8876/attachment.html 


More information about the calendarserver-changes mailing list