Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93068ff0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Escape MMIs that are not Python identifiers" am: d64d484f am:...

Merge "Escape MMIs that are not Python identifiers" am: d64d484f am: 3977bf81 am: 0e17ec70 am: cc26f359

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2156631



Change-Id: I21ad41a81dfb98ed9a0f42e69a0cd654d381c455
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6a77df4d cc26f359
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ class ProfileProxy:
            AttributeError: the MMI is not implemented.
        """
        try:
            if not mmi_name.isidentifier():
                mmi_name = "_mmi_" + mmi_name
            return getattr(self, mmi_name)(
                test=test, description=mmi_description, pts_addr=pts_addr)
        except AttributeError: