]> git.proxmox.com Git - qemu.git/commit
tracetool: use Python 2.4-compatible exception handling syntax
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 25 Apr 2012 09:39:42 +0000 (10:39 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 1 May 2012 19:15:28 +0000 (20:15 +0100)
commit662da3854e3f490223373b40afdcfcc339d14aa5
treea680cc4e48038d2b01dcac2c8592ef9348005ab2
parentb754e4fc1e8e68af975c545c38ebc3b001ebc98f
tracetool: use Python 2.4-compatible exception handling syntax

The newer "except <exception-type> as <exception>:" syntax is not
supported by Python 2.4, we need to use "except <exception-type>,
<exception>:".

Tested all trace backends with Python 2.4.

Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu>
scripts/tracetool.py