Re: [Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting functions

2012-03-20 Thread Stefan Hajnoczi
On Tue, Mar 13, 2012 at 09:03:43PM +0100, Lluís Vilanova wrote: > @@ -514,8 +521,9 @@ def main(): > try: > opts, args = getopt.getopt(sys.argv[1:], "", long_options) > except getopt.GetoptError, err: > -# print help information and exit: > -print str(err) # will p

[Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting functions

2012-03-13 Thread Lluís Vilanova
Unifies the print+exit sequence into a single 'error' call. Signed-off-by: Lluís Vilanova Signed-off-by: Harsh Prateek Bora --- scripts/tracetool.py | 27 +++ 1 files changed, 15 insertions(+), 12 deletions(-) diff --git a/scripts/tracetool.py b/scripts/tracetool.py i