moksha/hub/reactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 744dec49050bb595509535a66a2dc26a2c687d38 Author: Luke Macken lmacken@redhat.com Date: Tue Feb 17 23:40:20 2009 -0500
Catch ImportErrors in our reactor setup
diff --git a/moksha/hub/reactor.py b/moksha/hub/reactor.py index 8e919ce..0ab471a 100644 --- a/moksha/hub/reactor.py +++ b/moksha/hub/reactor.py @@ -32,7 +32,7 @@ try: elif 'win' in sys.platform: from twisted.internet import iocpreactor iocpreactor.install() -except AssertionError: # reactor already installed +except (ImportError, AssertionError): # reactor already installed pass
from twisted.internet import reactor