#122: Code documentation --------------------------+------------------------------------------------- Reporter: hinder | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
This attachment ensures that the main simfactory program does not run unless the sim.py file is executed as a script, rather than imported. This was suggested in the pydoc documentation:
http://docs.python.org/library/pydoc.html
OK to commit?