forked from etingof/pysnmp
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix asyncio hlapi double awaitable returns (Fix #19)
Commit 67563a1 introduced a bug while converting legacy asyncio API to new "async def" style. Previous methods where NOT decorated with @asyncio.coroutine and returned a Future object being awaitable. Updated code still returns a Future object but adds async keyword to function definition leading to awaitable function returning awaitable Future. That breaks existing API.
- Loading branch information
Showing
2 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters