python: fix all 'is assigned to but never used' warnings
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 27 Aug 2019 04:50:06 +0000 (00:50 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 27 Aug 2019 20:23:29 +0000 (16:23 -0400)
Fix all instances of this warning (code F841) found in the repo by
flake8.  In one instance (in test_plugin.py), I added an assertion to
use the variable.  In all others, I considered the variable not useful
and removed it.

Change-Id: I95c282a610d0e3b8adf7cee40ce5229744e8ebc0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reported-by: flake8
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1978
Tested-by: jenkins <jenkins@lttng.org>

No differences found
This page took 0.025017 seconds and 4 git commands to generate.