scripts/nvmf_perf: fix pylint E741
Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com> Change-Id: I039a2e22a665e0d52082e6876f2c7c1cd9a336c1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6386 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
8e039ff3d2
commit
f79d4b8baf
@ -37,7 +37,7 @@ class Server:
|
||||
print("[%s] %s" % (self.name, msg), flush=True)
|
||||
|
||||
def get_uncommented_lines(self, lines):
|
||||
return [l for l in lines if l and not l.startswith('#')]
|
||||
return [line for line in lines if line and not line.startswith('#')]
|
||||
|
||||
|
||||
class Target(Server):
|
||||
|
Loading…
Reference in New Issue
Block a user