* conifer/syrup/views/_common.py: added @postmortem decorator
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 6 May 2010 01:24:37 +0000 (01:24 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 6 May 2010 01:24:37 +0000 (01:24 +0000)
commit8b8699fffbbf8cb64861781f1da47f91b49a032a
tree39bd222d1331e5dd383fbb78c6755ae9469ff54c
parent8e471c0890cfd2c51aef5c399eb4d20d7744c6e8
* conifer/syrup/views/_common.py: added @postmortem decorator

When settings.DEBUG == True, a function decorated with @postmortem
will drop the Python process into the interactive postmortem debugger
if an uncaught exception is raised. (See the 'pdb' stdlib module for
details.)

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@883 6d9bc8c9-1ec2-4278-b937-99fde70a366f
.gitignore
conifer/syrup/views/_common.py