diff options
Diffstat (limited to 'pysnmp/carrier/asyncio/dispatch.py')
-rw-r--r-- | pysnmp/carrier/asyncio/dispatch.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pysnmp/carrier/asyncio/dispatch.py b/pysnmp/carrier/asyncio/dispatch.py index ca96683e..4bc54b62 100644 --- a/pysnmp/carrier/asyncio/dispatch.py +++ b/pysnmp/carrier/asyncio/dispatch.py @@ -81,14 +81,12 @@ class AsyncioDispatcher(AbstractTransportDispatcher): # Trollius or Tulip? if not hasattr(asyncio, "From"): - exec( -"""\ + exec("""\ @asyncio.coroutine def handle_timeout(self): while True: yield from asyncio.sleep(self.getTimerResolution()) self.handleTimerTick(loop.time()) AsyncioDispatcher.handle_timeout = handle_timeout\ -""" - ) +""") |