[CalendarServer-changes] [1499] CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__. patch

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 26 11:39:00 PDT 2007


Revision: 1499
          http://trac.macosforge.org/projects/calendarserver/changeset/1499
Author:   dreid at apple.com
Date:     2007-04-26 11:39:00 -0700 (Thu, 26 Apr 2007)

Log Message:
-----------
Patch our Twisted to not look in /System/ for directories to add twisted/plugins/ to

Added Paths:
-----------
    CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__.patch

Added: CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__.patch	                        (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__.patch	2007-04-26 18:39:00 UTC (rev 1499)
@@ -0,0 +1,12 @@
+Index: __init__.py
+===================================================================
+--- __init__.py	(revision 19773)
++++ __init__.py	(working copy)
+@@ -12,6 +12,6 @@
+ """
+ 
+ import os, sys
+-__path__ = [os.path.abspath(os.path.join(x, 'twisted', 'plugins')) for x in sys.path]
++__path__ = [os.path.abspath(os.path.join(x, 'twisted', 'plugins')) for x in sys.path if not x.startswith('/System')]
+ 
+ __all__ = []                    # nothing to see here, move along, move along

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070426/a8f95f1b/attachment.html


More information about the calendarserver-changes mailing list