summaryrefslogtreecommitdiff
path: root/camera.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-16 15:55:38 -0400
committerStan Seibert <stan@mtrr.org>2011-08-16 15:55:38 -0400
commit2952c9ba597033c469bd06d65dea67cd7c36f0dd (patch)
tree538a20349897830ad8906878463d4de7b7882d41 /camera.py
parentfbfbbbfd6ed750da2189960055d2d749de311717 (diff)
downloadchroma-2952c9ba597033c469bd06d65dea67cd7c36f0dd.tar.gz
chroma-2952c9ba597033c469bd06d65dea67cd7c36f0dd.tar.bz2
chroma-2952c9ba597033c469bd06d65dea67cd7c36f0dd.zip
Move general utility functions out of sim.py into tools.
The enable_debug_on_crash() function sets the exception hook to start up PDB on uncaught exceptions The @profile_if_possible decorator applies the kernprof.py @profile decorator if available (because of profiling in progress), otherwise does nothing.
Diffstat (limited to 'camera.py')
0 files changed, 0 insertions, 0 deletions