[pyrepl-checkins] r43420 - pyrepl/trunk/pyrepl/pyrepl

fijal at codespeak.net fijal at codespeak.net
Tue May 15 20:13:45 CEST 2007


Author: fijal
Date: Tue May 15 20:13:45 2007
New Revision: 43420

Modified:
   pyrepl/trunk/pyrepl/pyrepl/python_reader.py
Log:
Try harder to determine whether we've got twisted or not


Modified: pyrepl/trunk/pyrepl/pyrepl/python_reader.py
==============================================================================
--- pyrepl/trunk/pyrepl/pyrepl/python_reader.py	(original)
+++ pyrepl/trunk/pyrepl/pyrepl/python_reader.py	Tue May 15 20:13:45 2007
@@ -32,6 +32,8 @@
 try:
     import imp
     imp.find_module("twisted")
+    from twisted.internet import reactor
+    from twisted.internet.abstract import FileDescriptor
 except ImportError:
     default_interactmethod = "interact"
 else:


More information about the pyrepl-checkins mailing list