aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Duarte <licorne@google.com>2021-10-30 16:18:02 +0000
committerDavid Duarte <licorne@google.com>2021-10-30 16:18:02 +0000
commit6abe2b9d9d084308f27ed2b8fc8a8cab8f486aa1 (patch)
tree14b3468336562efaa4eff86f94e2f5bd54b3ae3e
parentc8e0a2be5f0b4149885f6ec4397fb001199b870c (diff)
downloadmmi2grpc-6abe2b9d9d084308f27ed2b8fc8a8cab8f486aa1.tar.gz
a2dp: Run autopep8
Change-Id: I8d089c886719fa5fe7ce1b21ef3b17db9dd792ce
-rw-r--r--interact/a2dp.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/interact/a2dp.py b/interact/a2dp.py
index 66d46de..a0c1046 100644
--- a/interact/a2dp.py
+++ b/interact/a2dp.py
@@ -6,12 +6,13 @@ from blueberry.host_grpc import Host
from blueberry.a2dp_pb2 import Sink, Source
from blueberry.host_pb2 import Connection
-_connection: Connection = None;
-_sink: Sink = None;
-_source: Source = None;
+_connection: Connection = None
+_sink: Sink = None
+_source: Source = None
+
def interact(channel: Channel, interaction_id: str, test: str, pts_addr: bytes):
- global _connection, _sink, _source;
+ global _connection, _sink, _source
a2dp = A2DP(channel)
host = Host(channel)
if interaction_id == "TSC_AVDTP_mmi_iut_accept_connect":
@@ -48,4 +49,4 @@ def interact(channel: Channel, interaction_id: str, test: str, pts_addr: bytes):
elif interaction_id == "TSC_AVDTP_mmi_iut_accept_reconnect":
pass
else:
- print(f'MMI NOT IMPLEMENTED: {interaction_id}') \ No newline at end of file
+ print(f'MMI NOT IMPLEMENTED: {interaction_id}')