# HG changeset patch # User Ezio Melotti # Date 1343491920 -7200 # Node ID fc513bd18167b46bce0a53778714b0763ecdf71a # Parent e645820e8556309793049312dd2c30751c097c81 Use "raise E, V, T" instead of "raise E(V).with_traceback(T)" (with_traceback is not available in Python 2). diff -r e645820e8556 -r fc513bd18167 CHANGES.txt --- a/CHANGES.txt Sat Jul 28 17:41:20 2012 +0200 +++ b/CHANGES.txt Sat Jul 28 18:12:00 2012 +0200 @@ -11,6 +11,9 @@ Fixed: +- "BaseException.with_traceback" is not available on Python 2, so use + "raise E, V, T" instead of "raise E(V).with_traceback(T)". This change was + originally introduced in 74476eaac38a. (Ezio Melotti) - issue2550759: Trailing punctuation is no longer included when URLs are converted to links. (Ezio Melotti) - issue2550574: Restore sample detectors removed in roundup 1.4.9 diff -r e645820e8556 -r fc513bd18167 roundup/cgi/client.py --- a/roundup/cgi/client.py Sat Jul 28 17:41:20 2012 +0200 +++ b/roundup/cgi/client.py Sat Jul 28 18:12:00 2012 +0200 @@ -1114,7 +1114,7 @@ # receive an error message, and the adminstrator will # receive a traceback, albeit with less information # than the one we tried to generate above. - raise exc_info[0](exc_info[1]).with_traceback(exc_info[2]) + raise exc_info[0], exc_info[1], exc_info[2] # these are the actions that are available actions = (