diff options
author | elie <elie> | 2005-10-26 21:30:03 +0000 |
---|---|---|
committer | elie <elie> | 2005-10-26 21:30:03 +0000 |
commit | 627cab2ce39c4266a570f2b17f3076c6d3d1a96c (patch) | |
tree | 01f46767ff10c065f120bfd98a57e29b6c0f6f01 /examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py | |
parent | 002972241ed483b2bdc0697c059f12d1e7ef59c2 (diff) | |
download | pysnmp-git-627cab2ce39c4266a570f2b17f3076c6d3d1a96c.tar.gz |
format output
Diffstat (limited to 'examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py')
-rw-r--r-- | examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py index a8c4c643..f968ed3b 100644 --- a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py +++ b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py @@ -41,7 +41,7 @@ def cbFun(transportDispatcher, transportDomain, transportAddress, wholeMsg): varBinds = pMod.apiPDU.getVarBindList(reqPDU) print 'Var-binds:' for oid, val in varBinds: - print oid.prettyPrint(), val.prettyPrint() + print '%s = %s' % (oid.prettyPrint(), val.prettyPrint()) return wholeMsg transportDispatcher = AsynsockDispatcher() |