qemu-devel
[Top][All Lists]
Advanced

[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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]