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 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7931 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
27acba1262
commit
14c153e67f
@ -35,7 +35,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