
Author: brett.cannon Date: Wed Feb 28 22:41:27 2007 New Revision: 54042 Modified: python/branches/p3yk_no_args_on_exc/Lib/traceback.py Log: Fix for test_syntax failure. Modified: python/branches/p3yk_no_args_on_exc/Lib/traceback.py ============================================================================== --- python/branches/p3yk_no_args_on_exc/Lib/traceback.py (original) +++ python/branches/p3yk_no_args_on_exc/Lib/traceback.py Wed Feb 28 22:41:27 2007 @@ -180,7 +180,7 @@ try: message = value.message filename = value.filename - lineno = value.lineno + lineno = value.lineno if value.lineno is not None else 0 offset = value.offset badline = value.text msg = value.message
participants (1)
-
brett.cannon