summaryrefslogtreecommitdiff
path: root/pysnmp/carrier/asyncio/dgram/udp.py
diff options
context:
space:
mode:
authorJames Brown <Roguelazer@gmail.com>2017-04-09 02:45:58 -0700
committerIlya Etingof <etingof@gmail.com>2017-04-09 11:45:58 +0200
commit3e6a654a755c22758267c64f2228c34e33ca2a2c (patch)
tree7518b91e7e466d2a2e933188ce0e8d125682a98c /pysnmp/carrier/asyncio/dgram/udp.py
parent7af816adb13848f7d9e589d61fedde290a553e82 (diff)
downloadpysnmp-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.py7
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)