[CalendarServer-changes] [5164] CalendarServer/trunk/twistedcaldav/extensions.py

source_changes at macosforge.org source_changes at macosforge.org
Sat Feb 20 13:06:18 PST 2010


Revision: 5164
          http://trac.macosforge.org/projects/calendarserver/changeset/5164
Author:   wsanchez at apple.com
Date:     2010-02-20 13:06:17 -0800 (Sat, 20 Feb 2010)
Log Message:
-----------
Don't need this hack any more. Woot.

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

Modified: CalendarServer/trunk/twistedcaldav/extensions.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/extensions.py	2010-02-20 21:02:35 UTC (rev 5163)
+++ CalendarServer/trunk/twistedcaldav/extensions.py	2010-02-20 21:06:17 UTC (rev 5164)
@@ -60,44 +60,13 @@
 
 from twistedcaldav import customxml
 from twistedcaldav.customxml import calendarserver_namespace
-from twistedcaldav.util import submodule, Alternator, printTracebacks
+from twistedcaldav.util import Alternator, printTracebacks
 from twistedcaldav.directory.sudo import SudoDirectoryService
 from twistedcaldav.directory.directory import DirectoryService
 from twistedcaldav.method.report import http_REPORT
 
 log = Logger()
 
-#
-# Alter logger for some twisted stuff
-#
-import twext
-for m in (
-    "web2.dav.fileop",
-    "web2.dav.element.base",
-    "web2.dav.fileop",
-    "web2.dav.http",
-    "web2.dav.method.acl",
-    "web2.dav.method.copymove",
-    "web2.dav.method.delete",
-    "web2.dav.method.mkcol",
-    "web2.dav.method.prop_common",
-    "web2.dav.method.propfind",
-    "web2.dav.method.proppatch",
-    "web2.dav.method.put",
-    "web2.dav.method.put_common",
-    "web2.dav.method.report",
-    "web2.dav.method.report_acl_principal_prop_set",
-    "web2.dav.method.report_expand",
-    "web2.dav.method.report_principal_match",
-    "web2.dav.method.report_principal_property_search",
-    "web2.dav.method.report_principal_search_property_set",
-    "web2.dav.resource",
-    "web2.dav.static",
-    "web2.dav.util",
-    "web2.dav.xattrprops",
-):
-    submodule(twext, m).log = Logger("twext." + m)
-del m
 
 class SudoSACLMixin (object):
     """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100220/9e1699af/attachment.html>


More information about the calendarserver-changes mailing list