lkml.org 
[lkml]   [2018]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/7] selftest/bpf: remove redundant parenthesis
On Tue, 11 Dec 2018 20:56:06 +0900, Alice Ferrazzi wrote:
> Signed-off-by: Alice Ferrazzi <alice.ferrazzi@gmail.com>
> ---
> tools/testing/selftests/bpf/test_offload.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/bpf/test_offload.py b/tools/testing/selftests/bpf/test_offload.py
> index 0f9130ebfd2c..b06cc0eea0eb 100755
> --- a/tools/testing/selftests/bpf/test_offload.py
> +++ b/tools/testing/selftests/bpf/test_offload.py
> @@ -140,7 +140,7 @@ def cmd_result(proc, include_stderr=False, fail=False):
>
>
> def rm(f):
> - cmd("rm -f %s" % (f))
> + cmd("rm -f %s" % f)
> if f in files:
> files.remove(f)
>

Is this in PEP8, too?

\
 
 \ /
  Last update: 2018-12-12 20:05    [W:0.113 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site