diff options
author | elie <elie> | 2005-10-26 21:30:03 +0000 |
---|---|---|
committer | elie <elie> | 2005-10-26 21:30:03 +0000 |
commit | 35079b9bcc2a31bcdeb24acd1a4552817a488443 (patch) | |
tree | 5cd7888229dc7370a643fead3791e1ed0ef51f92 /examples/v3arch/manager | |
parent | c16f9271c31b8ccf7303fa87d49589a0c1f25a10 (diff) | |
download | pysnmp-35079b9bcc2a31bcdeb24acd1a4552817a488443.tar.gz |
format output
Diffstat (limited to 'examples/v3arch/manager')
-rw-r--r-- | examples/v3arch/manager/bulkgen.py | 2 | ||||
-rw-r--r-- | examples/v3arch/manager/getgen.py | 2 | ||||
-rw-r--r-- | examples/v3arch/manager/ntfrcv.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/manager/bulkgen.py b/examples/v3arch/manager/bulkgen.py index 1e2a4fe..7e39d5f 100644 --- a/examples/v3arch/manager/bulkgen.py +++ b/examples/v3arch/manager/bulkgen.py @@ -44,7 +44,7 @@ def cbFun(sendRequesthandle, errorIndication, errorStatus, errorIndex, if val is None: print oid.prettyPrint() else: - print '%s=%s' % (oid.prettyPrint(), val.prettyPrint()) + print '%s = %s' % (oid.prettyPrint(), val.prettyPrint()) for oid, val in varBindTable[-1]: if val is not None: break diff --git a/examples/v3arch/manager/getgen.py b/examples/v3arch/manager/getgen.py index 51da752..cd6ec99 100644 --- a/examples/v3arch/manager/getgen.py +++ b/examples/v3arch/manager/getgen.py @@ -52,4 +52,4 @@ elif cbCtx['errorStatus']: print cbCtx['errorStatus'].prettyPrint() else: for oid, val in cbCtx['varBinds']: - print '%s=%s' % (oid.prettyPrint(), val.prettyPrint()) + print '%s = %s' % (oid.prettyPrint(), val.prettyPrint()) diff --git a/examples/v3arch/manager/ntfrcv.py b/examples/v3arch/manager/ntfrcv.py index 47c37da..dc1640f 100644 --- a/examples/v3arch/manager/ntfrcv.py +++ b/examples/v3arch/manager/ntfrcv.py @@ -34,7 +34,7 @@ def cbFun(snmpEngine, contextEngineId, contextName ) for name, val in varBinds: - print '%s=%s' % (name.prettyPrint(), val.prettyPrint()) + print '%s = %s' % (name.prettyPrint(), val.prettyPrint()) # Apps registration ntfrcv.NotificationReceiver(snmpEngine, cbFun) |