Fix all instances of this warning (code F401) found in the repo by
flake8.
Change-Id: I49dc56715d7f23a8779b7bcaf819ee2c90523a6f
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reported-by: flake8
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1979
Tested-by: jenkins <jenkins@lttng.org>
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-from bt2 import native_bt, object, utils
+from bt2 import native_bt
from bt2 import component as bt2_component
import bt2
from bt2 import native_bt, object, utils
from bt2 import field_class as bt2_field_class
from bt2 import value as bt2_value
-from bt2 import event as bt2_event
from bt2 import stream_class as bt2_stream_class
-import bt2
class EventClassLogLevel:
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-from bt2 import native_bt, object, utils
+from bt2 import native_bt, utils
import bt2
import bt2
import itertools
from bt2 import message_iterator as bt2_message_iterator
-from bt2 import logging as bt2_logging
from bt2 import port as bt2_port
from bt2 import component as bt2_component
from bt2 import value as bt2_value
#
import unittest
-import copy
import bt2