summaryrefslogtreecommitdiff
path: root/examples/v1arch/manager/setgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v1arch/manager/setgen.py')
-rw-r--r--examples/v1arch/manager/setgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v1arch/manager/setgen.py b/examples/v1arch/manager/setgen.py
index 4cb1aa2..f6eb053 100644
--- a/examples/v1arch/manager/setgen.py
+++ b/examples/v1arch/manager/setgen.py
@@ -38,10 +38,10 @@ def cbRecvFun(transportDispatcher, transportDomain, transportAddress,
# Check for SNMP errors reported
errorStatus = pMod.apiPDU.getErrorStatus(rspPDU)
if errorStatus:
- print errorStatus.prettyOut(errorStatus)
+ print errorStatus.prettyPrint()
else:
for oid, val in pMod.apiPDU.getVarBinds(rspPDU):
- print oid, val.prettyOut(val)
+ print oid.prettyPrint(), val.prettyPrint()
transportDispatcher.jobFinished(1)
return wholeMsg