Files
poky/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch
Marcin Juszkiewicz 8512529afa twisted: added 2.5.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1914 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-11 12:12:59 +00:00

19 lines
733 B
Diff

Index: Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py
===================================================================
--- Twisted-2.5.0.orig/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:08.117422472 +0100
+++ Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:13.810553949 +0100
@@ -14,13 +14,6 @@
raise RuntimeError("Twisted requires Python 2.3 or later.")
del sys
-# Ensure zope.interface is installed
-try:
- from zope.interface import Interface
- del Interface
-except ImportError:
- raise ImportError("you need zope.interface installed "
- "(http://zope.org/Products/ZopeInterface/)")
# Ensure compat gets imported
from twisted.python import compat