diff options
author | James Brown <Roguelazer@gmail.com> | 2017-04-09 02:45:58 -0700 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2017-04-09 11:45:58 +0200 |
commit | 3e6a654a755c22758267c64f2228c34e33ca2a2c (patch) | |
tree | 7518b91e7e466d2a2e933188ce0e8d125682a98c /pysnmp/carrier/asyncio/dgram/udp.py | |
parent | 7af816adb13848f7d9e589d61fedde290a553e82 (diff) | |
download | pysnmp-git-3e6a654a755c22758267c64f2228c34e33ca2a2c.tar.gz |
do not bind to a specific event loop at import time (#53)
Diffstat (limited to 'pysnmp/carrier/asyncio/dgram/udp.py')
-rw-r--r-- | pysnmp/carrier/asyncio/dgram/udp.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pysnmp/carrier/asyncio/dgram/udp.py b/pysnmp/carrier/asyncio/dgram/udp.py index 71c97324..8269992d 100644 --- a/pysnmp/carrier/asyncio/dgram/udp.py +++ b/pysnmp/carrier/asyncio/dgram/udp.py @@ -34,13 +34,6 @@ import socket from pysnmp.carrier.base import AbstractTransportAddress from pysnmp.carrier.asyncio.dgram.base import DgramAsyncioProtocol -try: - import asyncio -except ImportError: - import trollius as asyncio - -loop = asyncio.get_event_loop() - domainName = snmpUDPDomain = (1, 3, 6, 1, 6, 1, 1) |