[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting fu
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting functions |
Date: |
Mon, 19 Mar 2012 17:45:42 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 print something like "option -a not recognized"
> + # print help information and exit
> + # will print something like "option -a not recognized"
> + error_write(str(err)+"\n")
Please use whitespace in expressions:
error_write(str(err) + "\n")
- [Qemu-devel] [PATCH 06/12] trace: [tracetool] Add support for event properties, (continued)
- [Qemu-devel] [PATCH 06/12] trace: [tracetool] Add support for event properties, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 07/12] trace: [tracetool] Process the "disable" event property, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 03/12] trace: [tracetool] Do not rebuild event list in backend code, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 04/12] trace: [tracetool] Simplify event line parsing, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 08/12] trace: [tracetool] Rewrite event argument parsing, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 09/12] trace: [tracetool] Make format-specific code optional and with access to events, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 10/12] trace: [tracetool] Automatically establish available backends and formats, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 11/12] trace: Provide a per-event status define for conditional compilation, Lluís Vilanova, 2012/03/13
- [Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting functions, Lluís Vilanova, 2012/03/13
- Re: [Qemu-devel] [PATCH 12/12] trace: [tracetool] Add error-reporting functions,
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PATCH 00/12] Rewrite tracetool using python, Stefan Hajnoczi, 2012/03/20