add __main__ func to trial.py allows trial to be executed under the pydev debugger
|Reported by:||scmikes||Owned by:|
|Component:||trial||Keywords:||trial debug eclipse pydef|
Description (last modified by )
This is a very simple enhancement, adding the following to the end of trial.py allows trial to be easily executed under the pydev eclipse debugger. This would probably simplify debug execution under other IDE's as well.
I do not know of any downsides (although there may be downsided that I am not aware of)
if __name__ == "__main__": run()