mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
G7: F13 — remove broken deprecated req_mma method
Why: req_mma() references undefined variables `start` and `end`, causing a NameError on every call. The logger.error migration warning confirms the method is intentionally deprecated in favor of req_mma_sync. Since it is broken as shipped, removing it cannot break any working caller. Refs: Forensics report finding F13
This commit is contained in:
parent
fbf84cbdac
commit
0709b9f650
1 changed files with 0 additions and 4 deletions
|
|
@ -73,10 +73,6 @@ class BinaryCommandHandler(CommandHandlerBase):
|
|||
|
||||
return telem_event.payload["lpp"] if telem_event else None
|
||||
|
||||
async def req_mma(self, contact, timeout=0, min_timeout=0):
|
||||
logger.error("*** please consider using req_mma_sync instead of req_mma")
|
||||
return await self.req_mma_sync(contact, start, end, timeout,min_timeout)
|
||||
|
||||
async def req_mma_sync(self, contact, start, end, timeout=0,min_timeout=0):
|
||||
async with self._mesh_request_lock:
|
||||
req = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue