[Piglit] [PATCH v2 3/3] Remove extra newline from the end of run message

Dylan Baker baker.dylan.c at gmail.com
Thu Mar 27 14:09:45 PDT 2014


On Thursday, March 27, 2014 15:52:49 Thomas Wood wrote:
> The extra newline is no longer necessary as the final summary line
> includes one.
> 
> Signed-off-by: Thomas Wood <thomas.wood at intel.com>
> ---
>  piglit-resume.py | 3 +--
>  piglit-run.py    | 3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/piglit-resume.py b/piglit-resume.py
> index c9cb72b..09d0664 100755
> --- a/piglit-resume.py
> +++ b/piglit-resume.py
> @@ -87,8 +87,7 @@ def main():
>      json_writer.close_dict()
>      json_writer.file.close()
> 
> -    print("\n"
> -          "Thank you for running Piglit!\n"
> +    print("Thank you for running Piglit!\n"
>            "Results have ben wrriten to {0}".format(results_path))
> 
>  if __name__ == "__main__":
> diff --git a/piglit-run.py b/piglit-run.py
> index d57abd7..672c057 100755
> --- a/piglit-run.py
> +++ b/piglit-run.py
> @@ -177,8 +177,7 @@ def main():
>      json_writer.close_dict()
>      json_writer.file.close()
> 
> -    print('\n'
> -          'Thank you for running Piglit!\n'
> +    print('Thank you for running Piglit!\n'
>            'Results have been written to ' + result_filepath)

Looks good, thanks for working on this.
Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140327/28888e5a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140327/28888e5a/attachment.sig>


More information about the Piglit mailing list