sjanc commented on code in PR #1307:
URL: https://github.com/apache/mynewt-nimble/pull/1307#discussion_r930716867


##########
tools/hci_throughput/transport_factory.py:
##########
@@ -18,15 +18,31 @@
 #
 
 import hci_socket
+import logging
+import traceback
+import sys
 
 class TransportFactory:
-       def __init__(self, device_index=None, device_mode=None,
-                 asyncio_loop=None) -> None:
-               if (type(device_index) == int or device_index.isnumeric()):
+       def __init__(self, device_index: str = None, device_mode=None,

Review Comment:
   something is wrong with whitespaces in this code block



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to