Re: [PATCH] rteval: Correct Python version in doc/rteval.txt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 8 Aug 2023, Tomas Glozar wrote:

> doc/rteval.txt specifies that rteval is a Python 2.x program. This is
> not true, since rteval no longer works with Python 2.x:
> $ python2 rteval-cmd
>   File "rteval-cmd", line 67
>     print(f"Don't know how to summarize {repfile} (tarfile open failed)")
>                                                                        ^
> SyntaxError: invalid syntax
> 
> Replace "Python 2.x" with "Python 3.x".
> 
> Signed-off-by: Tomas Glozar <tglozar@xxxxxxxxxx>
> ---
>  doc/rteval.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/rteval.txt b/doc/rteval.txt
> index 7342866..569168e 100644
> --- a/doc/rteval.txt
> +++ b/doc/rteval.txt
> @@ -21,7 +21,7 @@ of a network packet). To give a realtime application the best chance
>  of meeting its deadline(s), a realtime OS must minimize the time
>  between event occurance and the servicing of that event (latency). 
>  
> -This paper describes the 'rteval' program, a Python 2.x program
> +This paper describes the 'rteval' program, a Python 3.x program
>  developed at Red Hat to help quantify realtime performance on the
>  Realtime kernel. Rteval is an attempt to put together a synthetic
>  benchmark which mimics a well behaved realtime application, running on
> -- 
> 2.39.3
> 
> 
Thanks for the clean-up
Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux