Index: third_party/twisted_8_1/twisted/internet/main.py |
diff --git a/third_party/twisted_8_1/twisted/internet/main.py b/third_party/twisted_8_1/twisted/internet/main.py |
deleted file mode 100644 |
index d8c5a5c7da60b1124407874d52480c212b7e20e6..0000000000000000000000000000000000000000 |
--- a/third_party/twisted_8_1/twisted/internet/main.py |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-# -*- test-case-name: twisted.test.test_app -*- |
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories. |
-# See LICENSE for details. |
- |
- |
-"""Backwards compatability, and utility functions. |
- |
-In general, this module should not be used, other than by reactor authors |
-who need to use the 'installReactor' method. |
- |
-Maintainer: U{Itamar Shtull-Trauring<mailto:twisted@itamarst.org>} |
-""" |
- |
-import error |
- |
-CONNECTION_DONE = error.ConnectionDone('Connection done') |
-CONNECTION_LOST = error.ConnectionLost('Connection lost') |
- |
-def installReactor(reactor): |
- # this stuff should be common to all reactors. |
- import twisted.internet |
- import sys |
- assert not sys.modules.has_key('twisted.internet.reactor'), \ |
- "reactor already installed" |
- twisted.internet.reactor = reactor |
- sys.modules['twisted.internet.reactor'] = reactor |
- |
-__all__ = ["CONNECTION_LOST", "CONNECTION_DONE", "installReactor"] |