Revision
1499
Author
dreid@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

Diff

Added: CalendarServer/trunk/lib-patches/Twisted/twisted.plugins.__init__.patch (0 => 1499)


--- 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