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

Commit d64d484f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Escape MMIs that are not Python identifiers"

parents a51fe0d8 fc49ab28
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: