Move import of traceback to only occur in the event of an exception.
Authored by: ryanmay 2010-10-06
Parent: [r8728]
Child: [r8730]