[PythonCE] PyCrypto binaries -- nearly there..

alexandre.delattre at enst-bretagne.fr alexandre.delattre at enst-bretagne.fr
Sat Aug 4 18:14:26 CEST 2007


I will try to run paramiko+pycrypto myself, i strongly suspect  
paramiko to call sys.exit on some condition, so in the meantime you  
can try to insert this in the beginning of your code (before any other  
import):

import sys

class ExitError(Exception):
     pass

def dummy_exit(code=0):
     raise ExitError()

sys.exit = dummy_exit

and see if it raises an exception instead of quitting, then you can  
track-down the source to locate the condition ...

I'm not sure if it will help, but it may be worth trying.

Alexandre.



More information about the PythonCE mailing list