diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-10 18:30:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-10 18:30:59 +0100 |
commit | 5c64b499c2cf6f168970aa7ae51fe4997cdd89fc (patch) | |
tree | 54a6e95198f22cf293923406f46f4eacc0f10155 /pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py | |
parent | cc2632d6d5c0096e0b563fb15750562c281af1eb (diff) | |
download | pysnmp-git-5c64b499c2cf6f168970aa7ae51fe4997cdd89fc.tar.gz |
Officially remove Python < 2.6 support (#239)
Perhaps previous commits have already broken older Python
support. This commit mostly declares Python 2.6+ support.
Diffstat (limited to 'pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py')
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py b/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py index c466c869..e334eefd 100644 --- a/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py +++ b/pysnmp/hlapi/v3arch/asyncore/sync/ntforg.py @@ -4,18 +4,10 @@ # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysnmp/license.html # -from sys import version_info from pysnmp.hlapi.v3arch.asyncore import ntforg __all__ = ['sendNotification'] -if version_info[:2] < (2, 6): - __all__.append('next') - - # noinspection PyShadowingBuiltins - def next(iter): - return iter.next() - def sendNotification(snmpEngine, authData, transportTarget, contextData, notifyType, *varBinds, **options): |