[CalendarServer-changes] [3933] CalendarServer/trunk/twisted/plugins/caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 30 16:10:23 PDT 2009


Revision: 3933
          http://trac.macosforge.org/projects/calendarserver/changeset/3933
Author:   wsanchez at apple.com
Date:     2009-03-30 16:10:22 -0700 (Mon, 30 Mar 2009)
Log Message:
-----------
Set Factory.noisy to False by default

Modified Paths:
--------------
    CalendarServer/trunk/twisted/plugins/caldav.py

Modified: CalendarServer/trunk/twisted/plugins/caldav.py
===================================================================
--- CalendarServer/trunk/twisted/plugins/caldav.py	2009-03-27 20:45:57 UTC (rev 3932)
+++ CalendarServer/trunk/twisted/plugins/caldav.py	2009-03-30 23:10:22 UTC (rev 3933)
@@ -4,6 +4,10 @@
 
 from twisted.python import reflect
 
+from twisted.internet.protocol import Factory
+Factory.noisy = False
+
+
 def serviceMakerProperty(propname):
     def getProperty(self):
         return getattr(reflect.namedClass(self.serviceMakerClass), propname)
@@ -13,12 +17,13 @@
 
 class TAP(object):
     implements(IPlugin, IServiceMaker)
+
     def __init__(self, serviceMakerClass):
         self.serviceMakerClass = serviceMakerClass
         self._serviceMaker = None
 
-    options = serviceMakerProperty("options")
-    tapname = serviceMakerProperty("tapname")
+    options     = serviceMakerProperty("options")
+    tapname     = serviceMakerProperty("tapname")
     description = serviceMakerProperty("description")
 
     def makeService(self, options):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090330/d114f979/attachment.html>


More information about the calendarserver-changes mailing list