summaryrefslogtreecommitdiff
path: root/pysnmp/entity
diff options
context:
space:
mode:
authorelie <elie>2015-07-05 14:22:26 +0000
committerelie <elie>2015-07-05 14:22:26 +0000
commitb2446e8a9841625abed2e0b67185751b7f17b208 (patch)
treecd5ea73f0a2b2ab49990d97db313d24c8f446052 /pysnmp/entity
parentffc920b298fb7bd2caa403645431c45754e8c9af (diff)
downloadpysnmp-b2446e8a9841625abed2e0b67185751b7f17b208.tar.gz
- original asynsock transport and AsyncsockDispatcher renamed into
asyncore and AsyncoreDispatcher respectively to provide better hint to fellow devs on the underlying transport being used - backward compatibility preserved through dummy asynsock symbols
Diffstat (limited to 'pysnmp/entity')
-rw-r--r--pysnmp/entity/config.py2
-rw-r--r--pysnmp/entity/rfc3413/oneliner/target.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/entity/config.py b/pysnmp/entity/config.py
index 085eea5..5c1bd83 100644
--- a/pysnmp/entity/config.py
+++ b/pysnmp/entity/config.py
@@ -1,7 +1,7 @@
# Initial SNMP engine configuration functions. During further operation,
# SNMP engine might be configured remotely (through SNMP).
from pyasn1.compat.octets import null
-from pysnmp.carrier.asynsock.dgram import udp, udp6, unix
+from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
from pysnmp.proto.secmod.rfc3414.auth import hmacmd5, hmacsha, noauth
from pysnmp.proto.secmod.rfc3414.priv import des, nopriv
from pysnmp.proto.secmod.rfc3826.priv import aes
diff --git a/pysnmp/entity/rfc3413/oneliner/target.py b/pysnmp/entity/rfc3413/oneliner/target.py
index 447fcc8..04ecb5f 100644
--- a/pysnmp/entity/rfc3413/oneliner/target.py
+++ b/pysnmp/entity/rfc3413/oneliner/target.py
@@ -1,5 +1,5 @@
import socket, sys
-from pysnmp.carrier.asynsock.dgram import udp, udp6, unix
+from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
from pysnmp import error
from pyasn1.compat.octets import null