diff options
author | Ilya Etingof <etingof@gmail.com> | 2017-05-27 09:01:56 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2017-05-27 09:01:56 +0200 |
commit | c196de621f8e88faa7b8b9fe1ec43cfdd9687576 (patch) | |
tree | 9f7bde8874571d9c3d1bf9bd6b703e55301a3298 /examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py | |
parent | 72759c534ce3546c1a8f50321d29cf1d587ce7df (diff) | |
download | pysnmp-git-c196de621f8e88faa7b8b9fe1ec43cfdd9687576.tar.gz |
minor pep8 improvements
Diffstat (limited to 'examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py')
-rw-r--r-- | examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py b/examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py index 027d3ac6..74cedeea 100644 --- a/examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py +++ b/examples/hlapi/asyncio/agent/ntforg/multiple-notifications-at-once.py @@ -29,8 +29,10 @@ from pysnmp.hlapi.asyncio import * @asyncio.coroutine def sendone(snmpEngine, hostname, notifyType): - errorIndication, errorStatus, \ - errorIndex, varBinds = yield from sendNotification( + (errorIndication, + errorStatus, + errorIndex, + varBinds) = yield from sendNotification( snmpEngine, CommunityData('public', tag=hostname), UdpTransportTarget((hostname, 162), tagList=hostname), |