diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-09 17:47:15 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-02-09 17:47:15 +0100 |
commit | 2b5603ecf98c1c47e94a405bd98054d1703af9e7 (patch) | |
tree | d0f544c895b238fbb5660dbf23b3d54c31bfa0b9 /pysnmp/carrier/asyncio | |
parent | 05b982f4b1cfa143d6fa607a6b9b24d3a77981a1 (diff) | |
download | pysnmp-git-2b5603ecf98c1c47e94a405bd98054d1703af9e7.tar.gz |
Drop Python < 2.6 except statement compatibility trick
Diffstat (limited to 'pysnmp/carrier/asyncio')
-rw-r--r-- | pysnmp/carrier/asyncio/dispatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/carrier/asyncio/dispatch.py b/pysnmp/carrier/asyncio/dispatch.py index e92fe95e..da1399b4 100644 --- a/pysnmp/carrier/asyncio/dispatch.py +++ b/pysnmp/carrier/asyncio/dispatch.py @@ -68,7 +68,7 @@ class AsyncioDispatcher(AbstractTransportDispatcher): raise except Exception: raise PySnmpError(';'.join(traceback.format_exception(*sys.exc_info()))) - + def registerTransport(self, tDomain, transport): if self.loopingcall is None and self.getTimerResolution() > 0: # Avoid deprecation warning for asyncio.async() |